Método DatabasePermissionCollection.Add (DatabasePermission)
Adds a DatabasePermission to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Add ( _
item As DatabasePermission _
) As Integer
'Uso
Dim instance As DatabasePermissionCollection
Dim item As DatabasePermission
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
DatabasePermission item
)
public:
int Add(
DatabasePermission^ item
)
member Add :
item:DatabasePermission -> int
public function Add(
item : DatabasePermission
) : int
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be added.
Valor de retorno
Tipo: System.Int32
The zero-based index at which the DatabasePermission has been added.