Table of Contents

Class PolicyRangePartition

Inheritance
PolicyRangePartition
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll
public class PolicyRangePartition : Partition, ICustomTypeDescriptor, INotifyPropertyChanging, IComparable, ITomErrorMessageObject, ITabularTableObject, ITabularObjectContainerObject, IDescriptionObject, IAnnotationObject, IExtendedPropertyObject, IClonableObject, IDaxDependantObject, IExpressionObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, IHandlerObject, INamedObject
Extension Methods

Properties

DefaultExpressionProperty

Gets the default expression property on the current object.

[Browsable(false)]
public override ExpressionProperty? DefaultExpressionProperty { get; }

Property Value

Type Description
ExpressionProperty?

End

Gets or sets the range end of the refresh policy for this partition

public DateTime End { get; set; }

Property Value

Type Description
DateTime

Granularity

Gets or sets the granularity of the refresh policy for this partition

public RefreshGranularityType Granularity { get; set; }

Property Value

Type Description
RefreshGranularityType

RefreshBookmark

Gets the refresh bookmark of the refresh policy for this partition

public string RefreshBookmark { get; }

Property Value

Type Description
string

Start

Gets or sets the range start of the refresh policy for this partition

public DateTime Start { get; set; }

Property Value

Type Description
DateTime

Methods

Clone(string, Table)

Creates an exact copy of this Partition object.

public override Partition Clone(string newName = null, Table newParent = null)

Parameters

Type Name Description
string newName
Table newParent

Returns

Type Description
Partition

CreateNew(Table, string)

public static PolicyRangePartition CreateNew(Table parent, string name = null)

Parameters

Type Name Description
Table parent
string name

Returns

Type Description
PolicyRangePartition

GetExpression(ExpressionProperty)

Gets the specified expression from the current object.

public override string GetExpression(ExpressionProperty expressionProperty)

Parameters

Type Name Description
ExpressionProperty expressionProperty

Returns

Type Description
string

Exceptions

InvalidEnumArgumentException

Thrown when the current object does not support the specified ExpressionProperty

GetExpressionProperties()

Gets all supported expression properties on the current object.

public override IEnumerable<ExpressionProperty> GetExpressionProperties()

Returns

Type Description
IEnumerable<ExpressionProperty>

Init()

Derived members should override this method to instantiate child objects

protected override void Init()

SetExpression(ExpressionProperty, string)

Sets the specified expression on the current object.

public override void SetExpression(ExpressionProperty expressionProperty, string expression)

Parameters

Type Name Description
ExpressionProperty expressionProperty
string expression

Exceptions

InvalidEnumArgumentException

Thrown when the current object does not support the specified ExpressionProperty