다음을 통해 공유


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 네임스페이스