Freigeben über


Connect-Methode (String)

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

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

Syntax

'Declaration
Public Sub Connect ( _
    connectionString As String _
)
'Usage
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
)

Parameter

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

Hinweise

See ConnectionString for a detailed description of parameters.