Partager via


Méthode Connect (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub Connect ( _
    connectionString As String _
)
'Utilisation
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
)

Paramètres

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

Notes

See ConnectionString for a detailed description of parameters.