Costruttore ValidationError (IModelComponent, String, ErrorPriority, Int32)
Initializes a new instance of the ValidationError class.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
source As IModelComponent, _
error As String, _
priority As ErrorPriority, _
errorCode As Integer _
)
'Utilizzo
Dim source As IModelComponent
Dim error As String
Dim priority As ErrorPriority
Dim errorCode As Integer
Dim instance As New ValidationError(source, _
error, priority, errorCode)
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 function ValidationError(
source : IModelComponent,
error : String,
priority : ErrorPriority,
errorCode : int
)
Parametri
- source
Tipo: Microsoft.AnalysisServices.IModelComponent
The validation source.
- error
Tipo: System.String
The validation error.
- priority
Tipo: Microsoft.AnalysisServices.ErrorPriority
The priority error.
- errorCode
Tipo: System.Int32
The error code.