다음을 통해 공유


DatabaseName 속성

Gets or sets the database with which the connection is established.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

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

value = instance.DatabaseName

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

속성 값

형식: System. . :: . .String
A String value that specifies the database to which the connection is established.