ValidationState.AddError 메서드 (String, String)
코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.. Adds an error with the specified message and binding key to the ValidationState.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Sub AddError ( _
message As String, _
bindingKey As String _
)
‘사용 방법
Dim instance As ValidationState
Dim message As String
Dim bindingKey As String
instance.AddError(message, bindingKey)
public void AddError(
string message,
string bindingKey
)
public:
void AddError(
String^ message,
String^ bindingKey
)
member AddError :
message:string *
bindingKey:string -> unit
public function AddError(
message : String,
bindingKey : String
)
매개 변수
- message
유형: System.String
Specifies the error message.
- bindingKey
유형: System.String
Specifies the name of the property that generated the exception.