Compartilhar via


Método Server.Connect (String, Boolean)

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

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

Sintaxe

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

instance.Connect(connectionString, propertiesOnly)
public void Connect(
    string connectionString,
    bool propertiesOnly
)
public:
void Connect(
    String^ connectionString, 
    bool propertiesOnly
)
member Connect : 
        connectionString:string * 
        propertiesOnly:bool -> unit
public function Connect(
    connectionString : String, 
    propertiesOnly : boolean
)

Parâmetros

Consulte também

Referência

Server Classe

Sobrecarregado Connect

Namespace Microsoft.AnalysisServices