Dela via


CubeDimensionPermissionCollection.Contains Method (String)

Indicates whether the collection contains a CubeDimensionPermission with the specified identifier.

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

Syntax

'Declaration
Public Function Contains ( _
    cubeDimensionId As String _
) As Boolean
'Usage
Dim instance As CubeDimensionPermissionCollection
Dim cubeDimensionId As String
Dim returnValue As Boolean

returnValue = instance.Contains(cubeDimensionId)
public bool Contains(
    string cubeDimensionId
)
public:
bool Contains(
    String^ cubeDimensionId
)
member Contains : 
        cubeDimensionId:string -> bool 
public function Contains(
    cubeDimensionId : String
) : boolean

Parameters

Return Value

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