CellPermissionCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(CellPermission) |
Indicates whether the collection contains the specified CellPermission. |
Contains(CellPermissionAccess) |
Indicates whether the collection contains a CellPermission with the specified access information. |
Contains(CellPermission)
Indicates whether the collection contains the specified CellPermission.
public bool Contains (Microsoft.AnalysisServices.CellPermission item);
override this.Contains : Microsoft.AnalysisServices.CellPermission -> bool
Public Function Contains (item As CellPermission) As Boolean
Parameters
- item
- CellPermission
The CellPermission to be located.
Returns
True, if the specified CellPermission is found in the collection, otherwise, false.
Applies to
Contains(CellPermissionAccess)
Indicates whether the collection contains a CellPermission with the specified access information.
public bool Contains (Microsoft.AnalysisServices.CellPermissionAccess access);
override this.Contains : Microsoft.AnalysisServices.CellPermissionAccess -> bool
Public Function Contains (access As CellPermissionAccess) As Boolean
Parameters
- access
- CellPermissionAccess
The access information of the CellPermission to be located.
Returns
True, if the specified CellPermission is found in the collection, otherwise, false.
Exceptions
The specified access is a null reference (Nothing in Visual Basic).