Share via


UserDefinedDataType.UnbindRule Method (Boolean)

Unbinds a rule from the user-defined data type.

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

Syntax

'Declaration
Public Sub UnbindRule ( _
    bindColumns As Boolean _
)
'Usage
Dim instance As UserDefinedDataType 
Dim bindColumns As Boolean

instance.UnbindRule(bindColumns)
public void UnbindRule(
    bool bindColumns
)
public:
void UnbindRule(
    bool bindColumns
)
member UnbindRule : 
        bindColumns:bool -> unit
public function UnbindRule(
    bindColumns : boolean
)

Parameters

  • 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.

Examples

Scripting

See Also

Reference

UserDefinedDataType Class

UnbindRule Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Data Types (Database Engine)

CREATE TYPE (Transact-SQL)