Метод DatabasePermissionCollection.Add (DatabasePermission)
Adds a DatabasePermission to the end of the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function Add ( _
item As DatabasePermission _
) As Integer
'Применение
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
Параметры
- item
Тип: Microsoft.AnalysisServices.DatabasePermission
The DatabasePermission to be added.
Возвращаемое значение
Тип: System.Int32
The zero-based index at which the DatabasePermission has been added.