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
- item
Type: Microsoft.AnalysisServices.AttributePermission
The AttributePermission to be added.
Return Value
Type: System.Int32
The zero-based index at which the AttributePermission has been added.