共用方式為


BindToDataType 方法

Binds the default or rule to a data type.

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

語法

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

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

參數

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