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