Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Gets the Role that has the specified identifier from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
id As String _
) As Role
Get
'Uso
Dim instance As RoleCollection
Dim id As String
Dim value As Role
value = instance(id)
public Role this[
string id
] { get; }
public:
property Role^ default[String^ id] {
Role^ get (String^ id);
}
member Item : Role
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- id
Tipo: System.String
The identifier of the Role to return.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.Role
The Role specified by the identifier.
Excepciones
| Excepción | Condición |
|---|---|
| ArgumentNullException | id is a null reference (Nothing in Visual Basic). |
| ItemNotFoundException | id does not exist in the collection. |