SqlStoreConnection.ServerInstance Property

Gets or sets the name of the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

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

Property Value

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

Implements

ISfcConnection.ServerInstance

See Also

Reference

SqlStoreConnection Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace