Model.ApplyRefreshPolicies 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.
Overloads
| ApplyRefreshPolicies(Boolean, Boolean, Int32) |
Apply refresh policies with current time as effective date for all applicable tables to manage partitions |
| ApplyRefreshPolicies(DateTime, Boolean, Boolean, Int32) |
Apply refresh policies with an effective date for all applicable tables to manage partitions |
ApplyRefreshPolicies(Boolean, Boolean, Int32)
Apply refresh policies with current time as effective date for all applicable tables to manage partitions
public System.Collections.Generic.IReadOnlyList<Microsoft.AnalysisServices.Tabular.ModelOperationResult> ApplyRefreshPolicies (bool refresh = true, bool refreshNonPolicyTables = true, int maxParallelism = 0);
member this.ApplyRefreshPolicies : bool * bool * int -> System.Collections.Generic.IReadOnlyList<Microsoft.AnalysisServices.Tabular.ModelOperationResult>
Public Function ApplyRefreshPolicies (Optional refresh As Boolean = true, Optional refreshNonPolicyTables As Boolean = true, Optional maxParallelism As Integer = 0) As IReadOnlyList(Of ModelOperationResult)
Parameters
- refresh
- Boolean
Refresh partitions or not
- refreshNonPolicyTables
- Boolean
Refresh tables without refresh policy or not
- maxParallelism
- Int32
Max parallelism when refreshing tables
Returns
Results of a series of operations executed by ApplyRefreshPolicies.
Applies to
ApplyRefreshPolicies(DateTime, Boolean, Boolean, Int32)
Apply refresh policies with an effective date for all applicable tables to manage partitions
public System.Collections.Generic.IReadOnlyList<Microsoft.AnalysisServices.Tabular.ModelOperationResult> ApplyRefreshPolicies (DateTime effectiveDate, bool refresh = true, bool refreshNonPolicyTables = true, int maxParallelism = 0);
member this.ApplyRefreshPolicies : DateTime * bool * bool * int -> System.Collections.Generic.IReadOnlyList<Microsoft.AnalysisServices.Tabular.ModelOperationResult>
Public Function ApplyRefreshPolicies (effectiveDate As DateTime, Optional refresh As Boolean = true, Optional refreshNonPolicyTables As Boolean = true, Optional maxParallelism As Integer = 0) As IReadOnlyList(Of ModelOperationResult)
Parameters
- effectiveDate
- DateTime
Effective Date
- refresh
- Boolean
Refresh partitions or not
- refreshNonPolicyTables
- Boolean
Refresh tables without refresh policy or not
- maxParallelism
- Int32
Max parallelism when refreshing tables
Returns
Results of a series of operations executed by ApplyRefreshPolicies.