Partager via


BindToDataType méthode

Binds the default or rule to a data type.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub BindToDataType ( _
    datatypename As String, _
    bindcolumns As Boolean _
)
'Utilisation
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
)

Paramètres

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