Méthode CellPermissionCollection.Add (CellPermissionAccess)
Creates and adds a CellPermission, with the specified CellPermissionAccess value, to the end of the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
access As CellPermissionAccess _
) As CellPermission
'Utilisation
Dim instance As CellPermissionCollection
Dim access As CellPermissionAccess
Dim returnValue As CellPermission
returnValue = instance.Add(access)
public CellPermission Add(
CellPermissionAccess access
)
public:
CellPermission^ Add(
CellPermissionAccess access
)
member Add :
access:CellPermissionAccess -> CellPermission
public function Add(
access : CellPermissionAccess
) : CellPermission
Paramètres
- access
Type : Microsoft.AnalysisServices.CellPermissionAccess
The CellPermissionAccess value of the CellPermission to be added.
Valeur de retour
Type : Microsoft.AnalysisServices.CellPermission
A new CellPermission with the specified CellPermissionAccess value.