Table of Contents

Class BasicRefreshPolicy

Inheritance
BasicRefreshPolicy
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll

Represents a BasicRefreshPolicy object. It is a child of a Table object.

public sealed class BasicRefreshPolicy : RefreshPolicy, ICustomTypeDescriptor, INotifyPropertyChanging, IAnnotationObject, IExtendedPropertyObject, ITabularTableObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject
Extension Methods

Remarks

This metadata object is only supported when the compatibility level of the database is at 1450 or above.

Properties

IncrementalGranularity

Granularity of the (most recent) incremental refresh range

public RefreshGranularityType IncrementalGranularity { get; set; }

Property Value

Type Description
RefreshGranularityType

IncrementalPeriods

Number of periods for the incremental refresh range

public int IncrementalPeriods { get; set; }

Property Value

Type Description
int

IncrementalPeriodsOffset

Lag or leading periods from Now() to the rolling window head

public int IncrementalPeriodsOffset { get; set; }

Property Value

Type Description
int

PollingExpression

If not null, M expression that is evaluated and stored for each partition upon each refresh or merge operation. Result is stored in Partition.RefreshBookmark

public string PollingExpression { get; set; }

Property Value

Type Description
string

RollingWindowGranularity

Target granularity of the rolling window for the whole data set

public RefreshGranularityType RollingWindowGranularity { get; set; }

Property Value

Type Description
RefreshGranularityType

RollingWindowPeriods

Number of periods for the rolling window for the whole data set

public int RollingWindowPeriods { get; set; }

Property Value

Type Description
int

SourceExpression

M expression that is used as the source M expression for new partitions. It includes the date filter by referring to 2 M parameters named [RangeStart] and [RangeEnd], which can be dates or integers depending on IntegerDateKey below

public string SourceExpression { get; set; }

Property Value

Type Description
string

Methods

CreateFromMetadata(Table, BasicRefreshPolicy)

public static BasicRefreshPolicy CreateFromMetadata(Table parent, BasicRefreshPolicy metadataObject)

Parameters

Type Name Description
Table parent
BasicRefreshPolicy metadataObject

Returns

Type Description
BasicRefreshPolicy

CreateNew(Table)

public static BasicRefreshPolicy CreateNew(Table parent)

Parameters

Type Name Description
Table parent

Returns

Type Description
BasicRefreshPolicy