Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Binds the default or rule to a data type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub BindToDataType ( _
datatypename As String, _
bindcolumns As Boolean _
)
'Usage
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
)
Parameter
- datatypename
Typ: System.String
A String value that specifies the name of the data type.
- bindcolumns
Typ: System.Boolean
A Boolean value that specifies whether to bind the default or rule to data types that are already bound to a column.
Beispiele
Erstellen, Ändern und Löschen von Standardwerten
Erstellen, Ändern und Löschen von Regeln
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace