Поделиться через


Метод Server.Execute (String, ImpactDetailCollection, Boolean)

Executes the specified command on the Службы Analysis Services server, and provides support for impact analysis.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Execute ( _
    command As String, _
    impactResult As ImpactDetailCollection, _
    analyzeImpactOnly As Boolean _
) As XmlaResultCollection
'Применение
Dim instance As Server 
Dim command As String 
Dim impactResult As ImpactDetailCollection 
Dim analyzeImpactOnly As Boolean 
Dim returnValue As XmlaResultCollection 

returnValue = instance.Execute(command, _
    impactResult, analyzeImpactOnly)
public XmlaResultCollection Execute(
    string command,
    ImpactDetailCollection impactResult,
    bool analyzeImpactOnly
)
public:
XmlaResultCollection^ Execute(
    String^ command, 
    ImpactDetailCollection^ impactResult, 
    bool analyzeImpactOnly
)
member Execute : 
        command:string * 
        impactResult:ImpactDetailCollection * 
        analyzeImpactOnly:bool -> XmlaResultCollection
public function Execute(
    command : String, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
) : XmlaResultCollection

Параметры

  • analyzeImpactOnly
    Тип: System.Boolean
    true to indicate that the command will only be analyzed for impact; otherwise, false. If set to false, the command will be executed and the impactResult collection will be populated.

Возвращаемое значение

Тип: Microsoft.AnalysisServices.XmlaResultCollection
An XmlaResultCollection containing the results of the query.

См. также

Справочник

Server Класс

Перегрузка Execute

Пространство имен Microsoft.AnalysisServices