UserDefinedDataType.BindDefault 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 BindDefault(
	string defaultSchema,
	string defaultName,
	bool bindColumns
)

Parameters

defaultSchema
Type: System.String

A String value that specifies the schema for the default.

defaultName
Type: System.String

A String value that specifies the name of the default.

bindColumns
Type: System.Boolean

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

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

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

Return to top
Show: