Contains 方法 (CellPermissionAccess)

Indicates whether the collection contains a CellPermission with the specified CellPermissionAccess value.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Contains ( _
    access As CellPermissionAccess _
) As Boolean
用法
Dim instance As CellPermissionCollection
Dim access As CellPermissionAccess
Dim returnValue As Boolean

returnValue = instance.Contains(access)
public bool Contains(
    CellPermissionAccess access
)
public:
bool Contains(
    CellPermissionAccess access
)
member Contains : 
        access:CellPermissionAccess -> bool 
public function Contains(
    access : CellPermissionAccess
) : boolean

返回值

类型:System. . :: . .Boolean
true if the CellPermission is contained in the collection; otherwise, false.