Share via


SfcConnection.ServerInstance Property

Gets or sets the name of the target server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public MustOverride Property ServerInstance As String
    Get
    Set
'Usage
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)

Property Value

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

Implements

ISfcConnection.ServerInstance