Server.Execute Method (String)

Executes the specified command on the Analysis Services server.

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

Syntax

'Declaration
Public Function Execute ( _
    command As String _
) As XmlaResultCollection
'Usage
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

Parameters

Return Value

Type: Microsoft.AnalysisServices.XmlaResultCollection
An XmlaResultCollection containing the results of the query.