Model.ExecuteXmla(String) Model.ExecuteXmla(String) Model.ExecuteXmla(String) Method

Definition

Executes an XMLA request and updates the model tree to match model's definition on the Server.

public Microsoft.AnalysisServices.Tabular.ModelOperationResult ExecuteXmla (string xmlaRequest);
member this.ExecuteXmla : string -> Microsoft.AnalysisServices.Tabular.ModelOperationResult
Public Function ExecuteXmla (xmlaRequest As String) As ModelOperationResult

Parameters

xmlaRequest
String String String

XMLA request

Returns

Result of ExecuteXmla operation, including impact

Examples

Example of valid XMLA request that can be passed:

<Refresh xmlns="http://schemas.microsoft.com/analysisservices/2014/engine"> <DatabaseID>TMTestDB</DatabaseID> <Partitions> <!-- Begin Refresh Partition schema --> .... <!-- End Refresh Partition schema --> <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"> <ID.Table>{{TableName}}</ID.Table> <ID.Partition>{{PartitionName}}</ID.Partition> <RefreshType>{{RefreshType}}</RefreshType> </row> </Partitions> </Refresh>

Remarks

XMLA request passed to this method will be wrapped into <Command></Command> element.

Applies to