Share via


ExternalRoleMemberCollection.Add(ExternalRoleMember) Method

Definition

Adds the specified ExternalRoleMember to the end of the collection.

public int Add (Microsoft.AnalysisServices.ExternalRoleMember item);
member this.Add : Microsoft.AnalysisServices.ExternalRoleMember -> int
Public Function Add (item As ExternalRoleMember) As Integer

Parameters

item
ExternalRoleMember

The ExternalRoleMember to be added.

Returns

The zero-based index at which the ExternalRoleMember 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