Share via


AttributePermissionCollection.Add Method (String)

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

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

Syntax

'Declaration
Public Function Add ( _
    attributeId As String _
) As AttributePermission
'Usage
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

Parameters

Return Value

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

See Also

Reference

AttributePermissionCollection Class

Add Overload

Microsoft.AnalysisServices Namespace