共用方式為


Server.Connect 方法 (String, Boolean)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub Connect ( _
    connectionString As String, _
    propertiesOnly As Boolean _
)
'用途
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
)

參數

請參閱

參考

Server 類別

Connect 多載

Microsoft.AnalysisServices 命名空間