DefaultSchema 属性

Gets the default database schema.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")> _
<DisplayNameKeyAttribute("User_DefaultSchemaName")> _
Property DefaultSchema As String
    Get
    Set
用法
Dim instance As IUserOptions
Dim value As String

value = instance.DefaultSchema

instance.DefaultSchema = value
[DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")]
[DisplayNameKeyAttribute("User_DefaultSchemaName")]
string DefaultSchema { get; set; }
[DisplayDescriptionKeyAttribute(L"User_DefaultSchemaDesc")]
[DisplayNameKeyAttribute(L"User_DefaultSchemaName")]
property String^ DefaultSchema {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")>]
[<DisplayNameKeyAttribute("User_DefaultSchemaName")>]
abstract DefaultSchema : string with get, set
function get DefaultSchema () : String
function set DefaultSchema (value : String)

属性值

类型:System. . :: . .String
A string that contains the default schema.