DatabasePermissionCollection.Add-Methode (DatabasePermission)
Adds a DatabasePermission to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As DatabasePermission _
) As Integer
'Usage
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
Parameter
- item
Typ: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be added.
Rückgabewert
Typ: System.Int32
The zero-based index at which the DatabasePermission has been added.