Metodo DatabasePermissionCollection.Add (DatabasePermission)
Adds a DatabasePermission to the end of the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function Add ( _
item As DatabasePermission _
) As Integer
'Utilizzo
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
Parametri
- item
Tipo: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be added.
Valore restituito
Tipo: System.Int32
The zero-based index at which the DatabasePermission has been added.