Partilhar via


Método CubePermissionCollection.Add (String)

Creates and adds a CubePermission, with the specified identifier, to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    roleId As String _
) As CubePermission
'Uso
Dim instance As CubePermissionCollection 
Dim roleId As String 
Dim returnValue As CubePermission 

returnValue = instance.Add(roleId)
public CubePermission Add(
    string roleId
)
public:
CubePermission^ Add(
    String^ roleId
)
member Add : 
        roleId:string -> CubePermission
public function Add(
    roleId : String
) : CubePermission

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.CubePermission
The zero-based index at which the CubePermission has been added.

Consulte também

Referência

CubePermissionCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices