共用方式為


UserDefinedDataType.UnbindRule 方法 (Boolean)

Unbinds a rule from the user-defined data type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub UnbindRule ( _
    bindColumns As Boolean _
)
'用途
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
)

參數

  • bindColumns
    型別: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.

範例

指令碼

請參閱

參考

UserDefinedDataType 類別

UnbindRule 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

資料類型 (Database Engine)

CREATE TYPE (Transact-SQL)