Méthode DataSourcePermissionCollection.Add (DataSourcePermission)
Adds a DataSourcePermission to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
item As DataSourcePermission _
) As Integer
'Utilisation
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
Paramètres
- item
Type : Microsoft.AnalysisServices.DataSourcePermission
The DataSourcePermission to be added.
Valeur de retour
Type : System.Int32
The zero-based index at which the DataSourcePermission has been added.