RegisteredServer.ServerInstance Property
Gets or sets the instance of SQL Server that is the registered server.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public Property ServerInstance As String
[SfcPropertyAttribute]
public string ServerInstance { get; set; }
[SfcPropertyAttribute]
public:
property String^ ServerInstance {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_ServerInstance ()
/** @property */
public void set_ServerInstance (String value)
public function get ServerInstance () : String
public function set ServerInstance (value : String)
Property Value
A String value that specifies the instance of SQL Server that is the registered server.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also