Partager via


Propriété ServerInstance

Gets or sets the name of the target 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 MustOverride Property ServerInstance As String
    Get
    Set
'Utilisation
Dim instance As SfcConnection
Dim value As String

value = instance.ServerInstance

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

Valeur de propriété

Type : System. . :: . .String
The name of the target server.

Implémente

ISfcConnection. . :: . .ServerInstance