Partager via


Propriété ServerInstance

Gets or sets the name of the server. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Overrides Property ServerInstance As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
A String containing the name of the server.

Implémente

ISfcConnection. . :: . .ServerInstance