Model.ApplyRefreshPolicies(DateTime, Boolean, Boolean, Int32) Model.ApplyRefreshPolicies(DateTime, Boolean, Boolean, Int32) Model.ApplyRefreshPolicies(DateTime, Boolean, Boolean, Int32) Method

Definition

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 = null, bool refresh = true, bool refreshNonPolicyTables = false, int maxParallelism = 0);
member this.ApplyRefreshPolicies : DateTime * bool * bool * int -> System.Collections.Generic.IReadOnlyList<Microsoft.AnalysisServices.Tabular.ModelOperationResult>
Public Function ApplyRefreshPolicies (Optional effectiveDate As DateTime = null, Optional refresh As Boolean = true, Optional refreshNonPolicyTables As Boolean = false, Optional maxParallelism As Integer = 0) As IReadOnlyList(Of ModelOperationResult)

Parameters

effectiveDate
DateTime DateTime DateTime

Effective Date, will use DateTime.Now if not specified

refresh
Boolean Boolean Boolean

Refresh partitions or not

refreshNonPolicyTables
Boolean Boolean Boolean

Refresh tables without refresh policy or not

maxParallelism
Int32 Int32 Int32

Max parallelism when refreshing tables

Returns

Results of a series of operations executed by ApplyRefreshPolicies.

Applies to