Condividi tramite


Proprietà Default

Gets the default bound to the column.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Default As String
    Get
    Set
'Utilizzo
Dim instance As Column
Dim value As String

value = instance.Default

instance.Default = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Default { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Default {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Default : string with get, set
function get Default () : String
function set Default (value : String)

Valore proprietà

Tipo: System. . :: . .String
A Default object that specifies the default bound to the column.

Osservazioni

The Default property specifies a default. This can be bound to the column by using the BindToColumn method.