DefaultRuleBase.BindToDataType Method (String, Boolean)

 

Binds the default or rule to a data type.

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

public void BindToDataType(
	string datatypename,
	bool bindcolumns
)

Parameters

datatypename
Type: System.String

A String value that specifies the name of the data type.

bindcolumns
Type: System.Boolean

A Boolean value that specifies whether to bind the default or rule to data types that are already bound to a column.

Return to top
Show: