Compartilhar via


Propriedade do RDL ServerInstance

Gets or sets the name of the server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Property ServerInstance As String
    Get
    Set
'Uso
Dim instance As ConnectionSettings
Dim value As String

value = instance.ServerInstance

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

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the name of the server.