Método BindRule
Associa uma regra à coluna.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub BindRule ( _
ruleSchema As String, _
ruleName As String _
)
'Uso
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
)
Parâmetros
- ruleSchema
Tipo: System. . :: . .String
Um valor String que especifica o nome do esquema de regra.
- ruleName
Tipo: System. . :: . .String
Um valor String que especifica o nome da regra.
Comentários
Observação |
---|
Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception. |
Consulte também