Compartilhar via


Propriedade do RDL SqlOlapConnectionInfoBase.ServerName

Obtém ou define o nome da instância do SQL Server.

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

Sintaxe

'Declaração
Public Property ServerName As String 
    Get 
    Set
'Uso
Dim instance As SqlOlapConnectionInfoBase 
Dim value As String 

value = instance.ServerName

instance.ServerName = value
public string ServerName { get; set; }
public:
property String^ ServerName {
    String^ get ();
    void set (String^ value);
}
member ServerName : string with get, set
function get ServerName () : String 
function set ServerName (value : String)

Valor da propriedade

Tipo: String
Um valor String que especifica o nome da instância do SQL Server.

Consulte também

Referência

SqlOlapConnectionInfoBase Classe

Namespace Microsoft.SqlServer.Management.Common