다음을 통해 공유


DefaultDatabaseName 속성

Gets or sets the name of the database to connect to by default.

네임스페이스:  Microsoft.SqlServer.Management.MultiServerConnection
어셈블리:  Microsoft.SqlServer.Management.MultiServerConnection(Microsoft.SqlServer.Management.MultiServerConnection.dll)

구문

‘선언
Public Property DefaultDatabaseName As String
    Get
    Set
‘사용 방법
Dim instance As MultiServerSqlConnectionInfo
Dim value As String

value = instance.DefaultDatabaseName

instance.DefaultDatabaseName = value
public string DefaultDatabaseName { get; set; }
public:
property String^ DefaultDatabaseName {
    String^ get ();
    void set (String^ value);
}
member DefaultDatabaseName : string with get, set
function get DefaultDatabaseName () : String
function set DefaultDatabaseName (value : String)

속성 값

유형: System. . :: . .String
A String containing the database name.