ValidationErrorCollection.IndexOf Method (ValidationError)
Applies To: SQL Server (starting with 2016)
Gets the index of a specified ValidationError.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public int IndexOf(
ValidationError item
)
public:
int IndexOf(
ValidationError^ item
)
member IndexOf :
item:ValidationError -> int
Public Function IndexOf (
item As ValidationError
) As Integer
Parameters
item
Type: Microsoft.AnalysisServices.ValidationErrorThe ValidationError to return.
Return Value
Type: System.Int32
The zero-based index of the ValidationError if the object is found; otherwise, -1.
See Also
ValidationErrorCollection Class
Microsoft.AnalysisServices Namespace
Return to top