RoleMemberCollection.Add 方法
Adds the specified RoleMember to the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function Add ( _
item As RoleMember _
) As Integer
'用途
Dim instance As RoleMemberCollection
Dim item As RoleMember
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
RoleMember item
)
public:
int Add(
RoleMember^ item
)
member Add :
item:RoleMember -> int
public function Add(
item : RoleMember
) : int
參數
- item
型別:Microsoft.AnalysisServices.RoleMember
The RoleMember to add to the collection.
傳回值
型別:System.Int32
The zero-based index in collection where the RoleMember was added.