共用方式為


RoleCollection.Add 方法

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add As Role
'用途
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

傳回值

型別:Microsoft.AnalysisServices.Role
A new, empty Role.

請參閱

參考

RoleCollection 類別

Add 多載

Microsoft.AnalysisServices 命名空間