Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Binds the default or rule to the specified column in the specified table with the specified schema.
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, _
tableschema As String _
)
'Usage
Dim instance As DefaultRuleBase
Dim tablename As String
Dim colname As String
Dim tableschema As String
instance.BindToColumn(tablename, colname, _
tableschema)
public void BindToColumn(
string tablename,
string colname,
string tableschema
)
public:
void BindToColumn(
String^ tablename,
String^ colname,
String^ tableschema
)
member BindToColumn :
tablename:string *
colname:string *
tableschema:string -> unit
public function BindToColumn(
tablename : String,
colname : String,
tableschema : String
)
Parameters
- tablename
Type: System.String
A String value that specifies the name of the table in which the column resides.
- colname
Type: System.String
A String value that specifies the name of the column.
- tableschema
Type: System.String
A String value that specifies the name of the table schema.
Examples
Creating, Altering, and Removing Defaults
Creating, Altering, and Removing Rules
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace