DefaultDatabase 속성
Gets or sets the database that the login uses by default.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<DisplayDescriptionKeyAttribute("Login_DefaultDatabaseDesc")> _
<DisplayNameKeyAttribute("Login_DefaultDatabaseName")> _
Property DefaultDatabase As String
Get
Set
‘사용 방법
Dim instance As ILoginOptions
Dim value As String
value = instance.DefaultDatabase
instance.DefaultDatabase = value
[DisplayDescriptionKeyAttribute("Login_DefaultDatabaseDesc")]
[DisplayNameKeyAttribute("Login_DefaultDatabaseName")]
string DefaultDatabase { get; set; }
[DisplayDescriptionKeyAttribute(L"Login_DefaultDatabaseDesc")]
[DisplayNameKeyAttribute(L"Login_DefaultDatabaseName")]
property String^ DefaultDatabase {
String^ get ();
void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Login_DefaultDatabaseDesc")>]
[<DisplayNameKeyAttribute("Login_DefaultDatabaseName")>]
abstract DefaultDatabase : string with get, set
function get DefaultDatabase () : String
function set DefaultDatabase (value : String)
속성 값
유형: System. . :: . .String
A String value that contains the database that the login uses by default.