Compartilhar via


Método AttributePermissionCollection.Add (String)

Creates and adds an AttributePermission, with the specified attribute identifier, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    attributeId As String _
) As AttributePermission
'Uso
Dim instance As AttributePermissionCollection 
Dim attributeId As String 
Dim returnValue As AttributePermission 

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

Parâmetros

Valor de retorno

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

Consulte também

Referência

AttributePermissionCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices