Aracılığıyla paylaş


Column.BindDefault Method

Binds a default to the column.

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

Syntax

'Bildirim
Public Sub BindDefault ( _
    defaultSchema As String, _
    defaultName As String _
)
'Kullanım
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.

Examples

Working with Database Objects

See Also

Reference

Column Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sp_bindefault (Transact-SQL)