Método RoleMemberCollection.Add
Adds the specified RoleMember to the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Add ( _
item As RoleMember _
) As Integer
'Uso
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
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.RoleMember
The RoleMember to add to the collection.
Valor de retorno
Tipo: System.Int32
The zero-based index in collection where the RoleMember was added.