Método DataSourcePermissionCollection.Add (DataSourcePermission)
Adds a DataSourcePermission to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Public Function Add ( _
item As DataSourcePermission _
) As Integer
'Uso
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
Parâmetros
- item
Tipo: Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be added.
Valor de retorno
Tipo: System.Int32
The zero-based index at which the DataSourcePermission has been added.