Udostępnij przez


Właściwość DatabaseName

Pobiera lub ustawia bazy danych, z którym ustanawiane jest połączenie.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Common
Zestaw:  Microsoft.SqlServer.ConnectionInfo (w Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Deklaracja
Public Property DatabaseName As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System. . :: . .String
A String wartość, która określa bazę danych, z którym ustanawiane jest połączenie.