TechNet
Export (0) Print
Expand All

ILoginOptions.DefaultDatabase Property

 

Gets or sets the database that the login uses by default.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayDescriptionKeyAttribute("Login_DefaultDatabaseDesc")]
[DisplayNameKeyAttribute("Login_DefaultDatabaseName")]
string DefaultDatabase { get; set; }

Property Value

Type: System.String

A String value that contains the database that the login uses by default.

Return to top
Show:
© 2016 Microsoft