Aracılığıyla paylaş


Column.BindRule Method

Binds a rule to the column.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub BindRule ( _
    ruleSchema As String, _
    ruleName As String _
)
'Kullanım
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
)

Parameters

Remarks

Not

Columns based on the UserDefinedTableType object cannot be modified and this method generates an exception.

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sp_bindrule (Transact-SQL)