Sdílet prostřednictvím


DimensionPermissionCollection.Contains Method (DimensionPermission)

Indicates whether the collection contains the specified DimensionPermission.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As DimensionPermission _
) As Boolean
'Usage
Dim instance As DimensionPermissionCollection 
Dim item As DimensionPermission 
Dim returnValue As Boolean 

returnValue = instance.Contains(item)
public bool Contains(
    DimensionPermission item
)
public:
bool Contains(
    DimensionPermission^ item
)
member Contains : 
        item:DimensionPermission -> bool
public function Contains(
    item : DimensionPermission
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the DimensionPermission is contained in the collection; otherwise, false.

See Also

Reference

DimensionPermissionCollection Class

Contains Overload

Microsoft.AnalysisServices Namespace