共用方式為


Default 屬性

Gets or sets a SQL Server default that is bound to the user-defined data type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Default As String
    Get
    Set
'用途
Dim instance As UserDefinedDataType
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)

屬性值

型別:System. . :: . .String
A String value that specifies the bound default.