ValidationErrorCollection.Item Property (Int32)
Applies To: SQL Server (starting with 2016)
Gets the ValidationError at the specified index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public ValidationError this[
int index
] { get; set; }
public:
property ValidationError^ default[
int index
] {
ValidationError^ get(int index);
void set(int index, ValidationError^ value);
}
member Item :
index:int -> ValidationError with get, set
Public Property Item (
index As Integer
) As ValidationError
Parameters
index
Type: System.Int32The zero-based index of the ValidationError to return.
Property Value
Type: Microsoft.AnalysisServices.ValidationError
The ValidationError at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero.-or-index is equal to or greater than Count. |
See Also
ValidationErrorCollection Class
Microsoft.AnalysisServices Namespace
Return to top