Condividi tramite


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

Valore restituito

Tipo: System.Int32
The zero-based index at which the DatabasePermission has been added.

Vedere anche

Riferimento

DatabasePermissionCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices