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 the specified column in the specified table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub BindToColumn ( _
tablename As String, _
colname As String _
)
'Usage
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String
instance.BindToColumn(tablename, colname)
public void BindToColumn(
string tablename,
string colname
)
public:
void BindToColumn(
String^ tablename,
String^ colname
)
member BindToColumn :
tablename:string *
colname:string -> unit
public function BindToColumn(
tablename : String,
colname : String
)
Parameter
- tablename
Typ: System.String
A String value that specifies the name of the table in which the column resides.
- colname
Typ: System.String
A String value that specifies the name of the column.
Beispiele
Erstellen, Ändern und Löschen von Standardwerten
Erstellen, Ändern und Löschen von Regeln
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace