Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the default database schema.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayNameKeyAttribute("User_DefaultSchemaName")> _
<DisplayDescriptionKeyAttribute("User_DefaultSchemaDesc")> _
Property DefaultSchema As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A string that contains the default schema.