RoleMemberCollection.Add(RoleMember) Method

Definition

Adds the specified RoleMember to the end of the collection.

C#
public int Add (Microsoft.AnalysisServices.RoleMember item);

Parameters

item
RoleMember

The RoleMember to be added.

Returns

The zero-based index at which the RoleMember has been added to the collection.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

The specified item already esists in the collection.

Applies to

Product Versions
Analysis Services SDK for .NET latest