共用方式為


UnbindFromDataType 方法

Unbinds the default or rule from the specified data type

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

語法

'宣告
Public Sub UnbindFromDataType ( _
    datatypename As String, _
    bindcolumns As Boolean _
)
'用途
Dim instance As DefaultRuleBase
Dim datatypename As String
Dim bindcolumns As Boolean

instance.UnbindFromDataType(datatypename, _
    bindcolumns)
public void UnbindFromDataType(
    string datatypename,
    bool bindcolumns
)
public:
void UnbindFromDataType(
    String^ datatypename, 
    bool bindcolumns
)
member UnbindFromDataType : 
        datatypename:string * 
        bindcolumns:bool -> unit 
public function UnbindFromDataType(
    datatypename : String, 
    bindcolumns : boolean
)

參數

  • bindcolumns
    型別:System. . :: . .Boolean
    A Boolean value that specifies whether to unbind the default or rule from data types that are already bound to a column.