共用方式為


DefaultSchema 屬性

Gets the default schema for the database user.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property DefaultSchema As String
    Get
    Set
'用途
Dim instance As User
Dim value As String

value = instance.DefaultSchema

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

屬性值

型別:System. . :: . .String
A String value that specifies the default schema for the database user.