DataSourcePermissionCollection.Add Method (DataSourcePermission)
Adds a DataSourcePermission to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As DataSourcePermission _
) As Integer
'Usage
Dim instance As DataSourcePermissionCollection
Dim item As DataSourcePermission
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
DataSourcePermission item
)
public:
int Add(
DataSourcePermission^ item
)
member Add :
item:DataSourcePermission -> int
public function Add(
item : DataSourcePermission
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be added.
Return Value
Type: System.Int32
The zero-based index at which the DataSourcePermission has been added.