Поделиться через


Свойство IUserOptions.DefaultSchema

Gets the default database schema.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<DisplayNameKeyAttribute("User_DefaultSchemaName")> _
<DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")> _
Property DefaultSchema As String 
    Get 
    Set
'Применение
Dim instance As IUserOptions 
Dim value As String 

value = instance.DefaultSchema

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

Значение свойства

Тип: System.String
A string that contains the default schema.

См. также

Справочник

IUserOptions Интерфейс

Пространство имен Microsoft.SqlServer.Management.Smo