다음을 통해 공유


UserDefinedDataType.BindRule 메서드 (String, String, Boolean)

Binds a default to the user-defined data type.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub BindRule ( _
    ruleSchema As String, _
    ruleName As String, _
    bindColumns As Boolean _
)
‘사용 방법
Dim instance As UserDefinedDataType 
Dim ruleSchema As String 
Dim ruleName As String 
Dim bindColumns As Boolean

instance.BindRule(ruleSchema, ruleName, _
    bindColumns)
public void BindRule(
    string ruleSchema,
    string ruleName,
    bool bindColumns
)
public:
void BindRule(
    String^ ruleSchema, 
    String^ ruleName, 
    bool bindColumns
)
member BindRule : 
        ruleSchema:string * 
        ruleName:string * 
        bindColumns:bool -> unit
public function BindRule(
    ruleSchema : String, 
    ruleName : String, 
    bindColumns : boolean
)

매개 변수

  • bindColumns
    유형: System.Boolean
    A Boolean value that specifies whether the rule is bound to the user-defined data type if it is already bound to a column.If True, the rule is bound to the user-defined data type.If False, the rule is not bound to the user-defined data type.

데이터 형식 사용

참고 항목

참조

UserDefinedDataType 클래스

BindRule 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

데이터 형식(데이터베이스 엔진)

CREATE TYPE(Transact-SQL)