RoleMemberCollection.Add(RoleMember) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified RoleMember to the end of the collection.
public int Add (Microsoft.AnalysisServices.RoleMember item);
member this.Add : Microsoft.AnalysisServices.RoleMember -> int
Public Function Add (item As RoleMember) As Integer
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.