Udostępnij za pośrednictwem


Właściwość SqlOlapConnectionInfoBase.ServerName

Pobiera lub ustawia nazwę wystąpienie SQL Server.

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

Składnia

'Deklaracja
Public Property ServerName As String
    Get
    Set
'Użycie
Dim instance As SqlOlapConnectionInfoBase
Dim value As String

value = instance.ServerName

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

Wartość właściwości

Typ: System.String
A String wartość, która określa nazwę wystąpienie SQL Server.