Share via


UserDefinedDataType.BindRule Method (String, String)

Binds a default to the user-defined data type.

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

Syntax

'Declaration
Public Sub BindRule ( _
    ruleSchema As String, _
    ruleName As String _
)
'Usage
Dim instance As UserDefinedDataType 
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

Examples

Working with Data Types

See Also

Reference

UserDefinedDataType Class

BindRule Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Data Types (Database Engine)

CREATE TYPE (Transact-SQL)