다음을 통해 공유


AdomdConnection.Database Property

Gets the name of the database to be used after the AdomdConnection is open.

네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

구문

‘선언
<BrowsableAttribute(False)> _
Public ReadOnly Property Database As String
[BrowsableAttribute(false)] 
public string Database { get; }
[BrowsableAttribute(false)] 
public:
virtual property String^ Database {
    String^ get () sealed;
}
/** @property */
public final String get_Database ()
public final function get Database () : String

속성 값

A string that contains the name of the database that the AdomdConnection uses.

주의

If the State property of the AdomdConnection has a value of ConnectionState.Open, the value for this property is retrieved from the provider for the current database. Otherwise, the value for this property is taken from the Catalog connection string setting of the ConnectionString property. To change this property, you must use the ChangeDatabase method.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace