SQLServer.Database.Rule Object
Binds a rule with an existing user-defined datatype.
Rule.BindToDatatype (
[DatatypeName :=] idDatatype,
[[FutureOnly :=] bFutureOnly] )
HRESULT pRule->BindToDatatype (
SQLOLE_LPCSTR idDatatype,
BOOL bFutureOnly = FALSE );
Element | Type | Description |
---|
idDatatype | Identifer | User-defined datatype |
bFutureOnly | Boolean | Determines if existing columns of the specified datatype are prevented from inheriting the new rule. If True, existing columns are not bound to the new rule. If False, existing columns are bound to the new rule. The default is False. |
sp_bindrule