Partager via


Add méthode (DatabasePermission)

Adds a DatabasePermission to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    item As DatabasePermission _
) As Integer
'Utilisation
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

Valeur de retour

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