共用方式為


Column.BindRule(String, String) Method

Definition

Invokes sp_bindrule to bind the column to the given rule

public void BindRule (string ruleSchema, string ruleName);
member this.BindRule : string * string -> unit
Public Sub BindRule (ruleSchema As String, ruleName As String)

Parameters

ruleSchema
String
ruleName
String

Exceptions

When the parent of the column is a UserDefinedTableType or View

Applies to