Udostępnij przez


Właściwość SqlStoreConnection.ServerInstance

Pobiera lub ustawia nazwę serwera.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Składnia

'Deklaracja
Public Overrides Property ServerInstance As String
    Get
    Set
'Użycie
Dim instance As SqlStoreConnection
Dim value As String

value = instance.ServerInstance

instance.ServerInstance = value
public override string ServerInstance { get; set; }
public:
virtual property String^ ServerInstance {
    String^ get () override;
    void set (String^ value) override;
}
abstract ServerInstance : string with get, set
override ServerInstance : string with get, set
override function get ServerInstance () : String
override function set ServerInstance (value : String)

Wartość właściwości

Typ: System.String
A String zawierającą nazwę serwera.

Implementacje

ISfcConnection.ServerInstance