UserDefinedDataType.BindRule Method (String, String, Boolean)

 

Binds a default to the user-defined data type.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void BindRule(
	string ruleSchema,
	string ruleName,
	bool bindColumns
)

Parameters

ruleSchema
Type: System.String

A String value that specifies the schema for the rule.

ruleName
Type: System.String

A String value that specifies the name of the rule.

bindColumns
Type: System.Boolean

A Boolean value that specifies whether the rule is bound to the user-defined data type if it is already bound to a column.

If True, the rule is bound to the user-defined data type.

If False, the rule is not bound to the user-defined data type.

Return to top
Show: