ValidationError 构造函数 (IModelComponent, String)
Initializes a new instance of the ValidationError class.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub New ( _
source As IModelComponent, _
error As String _
)
用法
Dim source As IModelComponent
Dim error As String
Dim instance As New ValidationError(source, _
error)
public ValidationError(
IModelComponent source,
string error
)
public:
ValidationError(
IModelComponent^ source,
String^ error
)
new :
source:IModelComponent *
error:string -> ValidationError
public function ValidationError(
source : IModelComponent,
error : String
)
参数
- source
类型:Microsoft.AnalysisServices.IModelComponent
The validation source.
- error
类型:System.String
The validation error.