Model.ExecuteXmla(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.