Compartir a través de


ColumnPermission Class

Definition

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

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

Remarks

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

Constructors

ColumnPermission()

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

Properties

Annotations

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

Column

A reference to a Column object associated with this ColumnPermission.

ExtendedProperties

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

IsRemoved

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

(Inherited from MetadataObject)
MetadataPermission

Defines whether the metadata of this column 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 Column. 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.

TablePermission

A reference to a TablePermission object that owns this ColumnPermission.

Methods

Clone()

Creates a new, full copy of a ColumnPermission object.

CopyFrom(ColumnPermission)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(ColumnPermission)

Copies a ColumnPermission 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