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
參數
- command
型別:System. . :: . .String
The command to execute.
- impactResult
型別:Microsoft.AnalysisServices. . :: . .ImpactDetailCollection
The collection to store impact information in.
- analyzeImpactOnly
型別:System. . :: . .Boolean
Indicates whether the command will only be analyzed for impact. 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.