Compartilhar via


Método Server.Connect (String)

Connects the current instance of Server to the Analysis Services server, using the specified connection string.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Sub Connect ( _
    connectionString As String _
)
'Uso
Dim instance As Server 
Dim connectionString As String

instance.Connect(connectionString)
public void Connect(
    string connectionString
)
public:
void Connect(
    String^ connectionString
)
member Connect : 
        connectionString:string -> unit
public function Connect(
    connectionString : String
)

Parâmetros

  • connectionString
    Tipo: System.String
    The connection string used to connect to the Analysis Services server.

Consulte também

Referência

Server Classe

Sobrecarregado Connect

Namespace Microsoft.AnalysisServices