AdomdRestrictionCollection.Contains 方法
Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Public Function Contains ( _
value As AdomdRestriction _
) As Boolean
'用途
Dim instance As AdomdRestrictionCollection
Dim value As AdomdRestriction
Dim returnValue As Boolean
returnValue = instance.Contains(value)
public bool Contains(
AdomdRestriction value
)
public:
bool Contains(
AdomdRestriction^ value
)
member Contains :
value:AdomdRestriction -> bool
public function Contains(
value : AdomdRestriction
) : boolean
參數
- value
型別:Microsoft.AnalysisServices.AdomdClient.AdomdRestriction
The AdomdRestriction to find.
傳回值
型別:System.Boolean
A Boolean that contains true if the AdomdRestriction exists in the collection; false otherwise.