RoleMemberCollection.Add Method (RoleMember)

 

Applies To: SQL Server (starting with 2016)

Adds the specified RoleMember to the collection.

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

Syntax

public int Add(
    RoleMember item
)
public:
int Add(
    RoleMember^ item
)
member Add : 
        item:RoleMember -> int
Public Function Add (
    item As RoleMember
) As Integer

Parameters

Return Value

Type: System.Int32

The zero-based index in collection where the RoleMember was added.

See Also

RoleMemberCollection Class
Microsoft.AnalysisServices Namespace

Return to top