ValidationErrorCollection.Contains Method (ValidationError)

 

Applies To: SQL Server (starting with 2016)

Indicates whether the collection contains a specified ValidationError.

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

Syntax

public bool Contains(
    ValidationError item
)
public:
bool Contains(
    ValidationError^ item
)
member Contains : 
        item:ValidationError -> bool
Public Function Contains (
    item As ValidationError
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the ValidationError exists in the collection; otherwise, false.

See Also

ValidationErrorCollection Class
Microsoft.AnalysisServices Namespace

Return to top