CubePermissionCollection.GetByName Method
Gets the CubePermission, with the specified name, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
Sintaxis
'Declaración
Public Function GetByName ( _
name As String _
) As CubePermission
public CubePermission GetByName (
string name
)
public:
CubePermission^ GetByName (
String^ name
)
public CubePermission GetByName (
String name
)
public function GetByName (
name : String
) : CubePermission
Parámetros
- name
The name of the CubePermission to be returned.
Valor devuelto
The CubePermission, if it is contained in the collection.
Excepciones
Tipo de excepción | Condición |
---|---|
ItemNotFoundException | name is not contained by 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
CubePermissionCollection Class
CubePermissionCollection Members
Microsoft.AnalysisServices Namespace