Delen via


RoleMemberCollection.Add Method

Adds the specified RoleMember to the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As RoleMember _
) As Integer
'Usage
Dim instance As RoleMemberCollection 
Dim item As RoleMember 
Dim returnValue As Integer 

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

Parameters

Return Value

Type: System.Int32
The zero-based index in collection where the RoleMember was added.

See Also

Reference

RoleMemberCollection Class

Microsoft.AnalysisServices Namespace