Jaa


TablePermission Class

Definition

Defines the security rules of the Role on the Table. It is a child of a Role object.

public sealed class TablePermission : Microsoft.AnalysisServices.Tabular.NamedMetadataObject
type TablePermission = class
    inherit NamedMetadataObject
Public NotInheritable Class TablePermission
Inherits NamedMetadataObject
Inheritance

Constructors

TablePermission()

Create a new instance of the TablePermission class with default settings.

Properties

Annotations

Gets the collection object of all annotations in the current TablePermission.

ColumnPermissions

Gets the collection object of all columnpermissions in the current TablePermission.

ErrorMessage

A string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError.

ExtendedProperties

Gets the collection object of all extendedproperties in the current TablePermission.

FilterExpression

The DAX expression that filters the rows in the table when this security role is in effect.

IsRemoved

A Boolean specifying whether this object was removed from an object tree.

(Inherited from MetadataObject)
MetadataPermission

Defines whether the metadata of this table should be secured from users belonging to this role.

Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

Name

The Name of this object is derived from the referenced Table. Therefore, setting the Name property is not allowed on this object.

ObjectType

Gets the type of the object.

Parent

Parent object, null for Model objects.

Role

A reference to a Role object that owns this TablePermission.

State

Provides information on the state of the permission. Possible values and their interpretation are as follows. Ready (1) The permission has a valid expression. NoData (3) Not applicable. CalculationNeeded (4) Not applicable. SemanticError (5) The expression of the TablePermission object has a semantic error. EvaluationError (6) Not applicable. DependencyError (7) A dependency associated with this TablePermission object is in an error state (SemanticError, EvaluationError, or DependencyError). Incomplete (8) Not applicable. SyntaxError (9) The TablePermission object is in an error state because of a syntax error in its expression. The TablePermission object is not queryable. This state applies only to TablePermission objects of the type Calculated.

Table

A reference to a Table object associated with this TablePermission.

Methods

Clone()

Creates a new, full copy of a TablePermission object.

CopyFrom(TablePermission)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(TablePermission)

Copies a TablePermission object to the specified object.

Validate()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

(Inherited from MetadataObject)

Applies to