Column.BindRule 方法
Binds a rule to the column.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub BindRule ( _
ruleSchema As String, _
ruleName As String _
)
'用途
Dim instance As Column
Dim ruleSchema As String
Dim ruleName As String
instance.BindRule(ruleSchema, ruleName)
public void BindRule(
string ruleSchema,
string ruleName
)
public:
void BindRule(
String^ ruleSchema,
String^ ruleName
)
member BindRule :
ruleSchema:string *
ruleName:string -> unit
public function BindRule(
ruleSchema : String,
ruleName : String
)
參數
- ruleSchema
型別:System.String
A String value that specifies the name of the rule schema.
- ruleName
型別:System.String
A String value that specifies the name of the rule.
備註
[!附註]
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間