CubePermissionCollection.GetByName Método
Gets the CubePermission, with the specified name, from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function GetByName ( _
name As String _
) As CubePermission
'Uso
Dim instance As CubePermissionCollection
Dim name As String
Dim returnValue As CubePermission
returnValue = instance.GetByName(name)
public CubePermission GetByName(
string name
)
public:
CubePermission^ GetByName(
String^ name
)
member GetByName :
name:string -> CubePermission
public function GetByName(
name : String
) : CubePermission
Parámetros
- name
Tipo: System.String
The name of the CubePermission to be returned.
Valor devuelto
Tipo: Microsoft.AnalysisServices.CubePermission
The CubePermission, if it is contained in the collection.
Excepciones
Excepción | Condición |
---|---|
ItemNotFoundException | name is not contained by the collection. |