AttributePermissionCollection.Add Method (AttributePermission)

Adds an AttributePermission to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AttributePermission _
) As Integer
'Usage
Dim instance As AttributePermissionCollection 
Dim item As AttributePermission 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    AttributePermission item
)
public:
int Add(
    AttributePermission^ item
)
member Add : 
        item:AttributePermission -> int
public function Add(
    item : AttributePermission
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the AttributePermission has been added.

See Also

Reference

AttributePermissionCollection Class

Add Overload

Microsoft.AnalysisServices Namespace