다음을 통해 공유


AttributePermissionCollection.Item[] Property

Definition

Overloads

Item[String]

Gets the AttributePermission, with the specified AttributeID, from the collection.

Item[Int32]

Gets the AttributePermission, at the specified index, from the collection.

Item[String]

Gets the AttributePermission, with the specified AttributeID, from the collection.

public Microsoft.AnalysisServices.AttributePermission this[string attributeId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.AttributePermission
Default Public ReadOnly Property Item(attributeId As String) As AttributePermission

Parameters

attributeId
String

The AttributeID of the AttributePermission to be returned.

Property Value

The AttributePermission with the specified AttributeID.

Exceptions

The collection doesn't contain an AttributePermission with the specified AttributeID.

Applies to

Item[Int32]

Gets the AttributePermission, at the specified index, from the collection.

public Microsoft.AnalysisServices.AttributePermission this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.AttributePermission
Default Public ReadOnly Property Item(index As Integer) As AttributePermission

Parameters

index
Int32

The zero-based index of the AttributePermission to be returned.

Property Value

The AttributePermission at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to