ValidationError Constructor (IModelComponent, String, ErrorPriority, Int32)
Applies To: SQL Server (starting with 2016)
Initializes a new instance of the ValidationError class.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public ValidationError(
IModelComponent source,
string error,
ErrorPriority priority,
int errorCode
)
public:
ValidationError(
IModelComponent^ source,
String^ error,
ErrorPriority priority,
int errorCode
)
new :
source:IModelComponent *
error:string *
priority:ErrorPriority *
errorCode:int -> ValidationError
Public Sub New (
source As IModelComponent,
error As String,
priority As ErrorPriority,
errorCode As Integer
)
Parameters
source
Type: Microsoft.AnalysisServices.IModelComponentThe validation source.
error
Type: System.StringThe validation error.
priority
Type: Microsoft.AnalysisServices.ErrorPriorityThe priority error.
errorCode
Type: System.Int32The error code.
See Also
ValidationError Overload
ValidationError Class
Microsoft.AnalysisServices Namespace
Return to top