Compartilhar via


Método 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

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index at which the DataSourcePermission has been added.