Share via


RoleCollection.Add Method

Creates and adds a Role to the end of the collection.

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

Syntax

'Declaration
Public Function Add As Role
'Usage
Dim instance As RoleCollection
Dim returnValue As Role

returnValue = instance.Add()
public Role Add()
public:
Role^ Add()
member Add : unit -> Role 
public function Add() : Role

Return Value

Type: Microsoft.AnalysisServices.Role
A new, empty Role.