MiningStructurePermissionCollection.GetByRole Method
Gets the MiningStructurePermission that has the specified role identifier from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintaxis
'Declaración
Public Function GetByRole ( _
roleId As String _
) As MiningStructurePermission
public MiningStructurePermission GetByRole (
string roleId
)
public:
MiningStructurePermission^ GetByRole (
String^ roleId
)
public MiningStructurePermission GetByRole (
String roleId
)
public function GetByRole (
roleId : String
) : MiningStructurePermission
Parámetros
- roleId
Valor devuelto
The MiningStructurePermission if it exists in the collection.
Excepciones
Tipo de excepción | Condición |
---|---|
ItemNotFoundException | roleID does not exist in the collection. |
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
MiningStructurePermissionCollection Class
MiningStructurePermissionCollection Members
Microsoft.AnalysisServices Namespace