Propriété AttributePermissionCollection.Item (String)
Gets the AttributePermission, with the specified identifier, from the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
attributeId As String _
) As AttributePermission
Get
'Utilisation
Dim instance As AttributePermissionCollection
Dim attributeId As String
Dim value As AttributePermission
value = instance(attributeId)
public AttributePermission this[
string attributeId
] { get; }
public:
property AttributePermission^ default[String^ attributeId] {
AttributePermission^ get (String^ attributeId);
}
member Item : AttributePermission
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- attributeId
Type : System.String
The attribute identifier of the AttributePermission to be returned.
Valeur de propriété
Type : Microsoft.AnalysisServices.AttributePermission
The AttributePermission specified by the identifier.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | attributeID is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | attributeID does not exist in the collection. |