This topic has not yet been rated - Rate this topic

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)
[DisplayNameKeyAttribute("Login_DefaultDatabaseName")]
[DisplayDescriptionKeyAttribute("Login_DefaultDatabaseDesc")]
string DefaultDatabase { get; set; }

Property Value

Type: System.String
A String value that contains the database that the login uses by default.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.