Метод 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. |
См. также