Dela via


Column.BindDefault Method

Binds a default to the column.

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

Syntax

'Declaration
Public Sub BindDefault ( _
    defaultSchema As String, _
    defaultName As String _
)
'Usage
Dim instance As Column
Dim defaultSchema As String
Dim defaultName As String

instance.BindDefault(defaultSchema, defaultName)
public void BindDefault(
    string defaultSchema,
    string defaultName
)
public:
void BindDefault(
    String^ defaultSchema, 
    String^ defaultName
)
member BindDefault : 
        defaultSchema:string * 
        defaultName:string -> unit 
public function BindDefault(
    defaultSchema : String, 
    defaultName : String
)

Parameters

  • defaultSchema
    Type: System.String
    A String value that specifies the name of the default schema.