Contains méthode (String)
Indicates whether the collection contains a CubeHierarchy, with the specified identifier.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
hierarchyId As String _
) As Boolean
'Utilisation
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim returnValue As Boolean
returnValue = instance.Contains(hierarchyId)
public bool Contains(
string hierarchyId
)
public:
bool Contains(
String^ hierarchyId
)
member Contains :
hierarchyId:string -> bool
public function Contains(
hierarchyId : String
) : boolean
Paramètres
- hierarchyId
Type : System. . :: . .String
Valeur de retour
Type : System. . :: . .Boolean
true if the CubeHierarchy is contained in the collection; otherwise, false.