Поделиться через


Метод RoleCollection.Add (Role)

Adds a Role to the end of the collection.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Add ( _
    item As Role _
) As Integer
'Применение
Dim instance As RoleCollection 
Dim item As Role 
Dim returnValue As Integer 

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

Параметры

Возвращаемое значение

Тип: System.Int32
The zero-based index at which the Role has been added.

См. также

Справочник

RoleCollection Класс

Перегрузка Add

Пространство имен Microsoft.AnalysisServices