Condividi tramite


Metodo DataSourcePermissionCollection.Add (DataSourcePermission)

Adds a DataSourcePermission to the end of the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    item As DataSourcePermission _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

DataSourcePermissionCollection Classe

Overload Add

Spazio dei nomi Microsoft.AnalysisServices