Share via


Propriété DefaultSchema

Gets the default database schema.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")> _
<DisplayNameKeyAttribute("User_DefaultSchemaName")> _
Property DefaultSchema As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
A string that contains the default schema.