RoleCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Item[Int32] |
Gets the Role, at the specified index, from the collection. |
Item[String] |
Gets the Role, with the specified identifier, from the collection. |
Item[Int32]
Gets the Role, at the specified index, from the collection.
public Microsoft.AnalysisServices.Tabular.Role this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.Tabular.Role
Default Public ReadOnly Property Item(index As Integer) As Role
Parameters
Property Value
The Role 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
Item[String]
Gets the Role, with the specified identifier, from the collection.
public Microsoft.AnalysisServices.Tabular.Role this[string id] { get; }
member this.Item(string) : Microsoft.AnalysisServices.Tabular.Role
Default Public ReadOnly Property Item(id As String) As Role
Parameters
Property Value
The Role with the specified identifier.
Exceptions
The collection doesn't contain a Role with the specified identifier.