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)

public int Add(
	RoleMember item
)

Parameters

item
Type: Microsoft.AnalysisServices.RoleMember

The RoleMember to add to the collection.

Return Value

Type: System.Int32

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

Return to top
Show: