PropertyComparerProvider.Compare 메서드
Indicates whether the provider compares the specified properties. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Differencing.SPI
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public MustOverride Function Compare ( _
source As ISfcSimpleNode, _
target As ISfcSimpleNode, _
propName As String _
) As Boolean
‘사용 방법
Dim instance As PropertyComparerProvider
Dim source As ISfcSimpleNode
Dim target As ISfcSimpleNode
Dim propName As String
Dim returnValue As Boolean
returnValue = instance.Compare(source, _
target, propName)
public abstract bool Compare(
ISfcSimpleNode source,
ISfcSimpleNode target,
string propName
)
public:
virtual bool Compare(
ISfcSimpleNode^ source,
ISfcSimpleNode^ target,
String^ propName
) abstract
abstract Compare :
source:ISfcSimpleNode *
target:ISfcSimpleNode *
propName:string -> bool
public abstract function Compare(
source : ISfcSimpleNode,
target : ISfcSimpleNode,
propName : String
) : boolean
매개 변수
- source
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleNode
A ISfcSimpleNode that specifies the source of the node.
- target
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcSimpleNode
A ISfcSimpleNode that specifies the target node.
- propName
유형: System.String
A String that specifies the name of the property.
반환 값
유형: System.Boolean
true if the provider compares the specified properties; otherwise, false.