Class MPartition
Assembly: TOMWrapper.dll
Syntax
public class MPartition : Partition, ICustomTypeDescriptor, INotifyPropertyChanging, IComparable, ITomErrorMessageObject, ITabularTableObject, IDescriptionObject, IAnnotationObject, IExtendedPropertyObject, IClonableObject, IDaxDependantObject, IExpressionObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject
Properties
Attributes
Gets or sets the M attributes.
Declaration
public string Attributes { get; set; }
Property Value
DefaultExpressionProperty
Gets the default expression property on the current object.
Declaration
public override ExpressionProperty? DefaultExpressionProperty { get; }
Property Value
Overrides
MExpression
The Power Query (M) Expression used to populate the partition with data.
Declaration
public string MExpression { get; set; }
Property Value
Methods
Clone(string, Table)
Creates a copy of this parittion
Declaration
public override Partition Clone(string newName = null, Table newParent = null)
Parameters
Returns
Overrides
Exceptions
CreateNew(Table, string)
Declaration
public static MPartition CreateNew(Table parent, string name = null)
Parameters
Returns
GetExpression(ExpressionProperty)
Gets the specified expression from the current object.
Declaration
public override string GetExpression(ExpressionProperty expressionProperty)
Parameters
Returns
Overrides
Exceptions
GetExpressionProperties()
Gets all supported expression properties on the current object.
Declaration
public override IEnumerable<ExpressionProperty> GetExpressionProperties()
Returns
Overrides
Init()
Derived members should override this method to instantiate child objects
Declaration
protected override void Init()
Overrides
SetExpression(ExpressionProperty, string)
Sets the specified expression on the current object.
Declaration
public override void SetExpression(ExpressionProperty expressionProperty, string expression)
Parameters
Overrides
Exceptions
Implements
Extension Methods