Propriedade ServerInstance
Gets or sets the instance of SQL Server that is the registered server.
Namespace: Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly: Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute> _
Public Property ServerInstance As String
Get
Set
'Uso
Dim instance As RegisteredServer
Dim value As String
value = instance.ServerInstance
instance.ServerInstance = value
[SfcPropertyAttribute]
public string ServerInstance { get; set; }
[SfcPropertyAttribute]
public:
property String^ ServerInstance {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member ServerInstance : string with get, set
function get ServerInstance () : String
function set ServerInstance (value : String)
Valor da propriedade
Tipo: System. . :: . .String
A String value that specifies the instance of SQL Server that is the registered server.
Consulte também