다음을 통해 공유


XMLTask.FailOnDifference 속성

Gets or sets a Boolean that indicates whether the task fails if the XML document fails to validate according to the validation schema.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.XMLTask
어셈블리:  Microsoft.SqlServer.XMLTask(Microsoft.SqlServer.XMLTask.dll)

구문

‘선언
Public Property FailOnDifference As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As XMLTask 
Dim value As Boolean 

value = instance.FailOnDifference

instance.FailOnDifference = value
public bool FailOnDifference { get; set; }
public:
virtual property bool FailOnDifference {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract FailOnDifference : bool with get, set 
override FailOnDifference : bool with get, set
final function get FailOnDifference () : boolean 
final function set FailOnDifference (value : boolean)

속성 값

유형: System.Boolean
true if the task fails if the XML document fails to validate according to the validation schema; false if XML validation does not affect task success.

구현

IDTSXMLTask.FailOnDifference

주의

Default value is False. This property is used when the OperationType is set to Diff or Patch.

참고 항목

참조

XMLTask 클래스

Microsoft.SqlServer.Dts.Tasks.XMLTask 네임스페이스