共用方式為


Server.Execute 方法 (String)

Executes the specified command on the Analysis Services server.

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

語法

'宣告
Public Function Execute ( _
    command As String _
) As XmlaResultCollection
'用途
Dim instance As Server 
Dim command As String 
Dim returnValue As XmlaResultCollection 

returnValue = instance.Execute(command)
public XmlaResultCollection Execute(
    string command
)
public:
XmlaResultCollection^ Execute(
    String^ command
)
member Execute : 
        command:string -> XmlaResultCollection
public function Execute(
    command : String
) : XmlaResultCollection

參數

傳回值

型別:Microsoft.AnalysisServices.XmlaResultCollection
An XmlaResultCollection containing the results of the query.

請參閱

參考

Server 類別

Execute 多載

Microsoft.AnalysisServices 命名空間