Share via


MatchingPolicy Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents the matching policy for the service.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.MatchingPolicy

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<KnownTypeAttribute(GetType(PrerequisiteMatchingCriterion))> _
<KnownTypeAttribute(GetType(WeightedMatchingCriterion))> _
<DataContractAttribute(Name := "MatchingPolicy", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
<KnownTypeAttribute(GetType(DateMatchingCriterion))> _
<KnownTypeAttribute(GetType(StringMatchingCriterion))> _
<KnownTypeAttribute(GetType(SimilarMatchingCriterion))> _
<KnownTypeAttribute(GetType(ExactMatchingCriterion))> _
<KnownTypeAttribute(GetType(NumericByDifferenceMatchingCriterion))> _
<KnownTypeAttribute(GetType(NumericByPercentageMatchingCriterion))> _
<KnownTypeAttribute(GetType(NumericMatchingCriterion))> _
Public Class MatchingPolicy
'Usage
Dim instance As MatchingPolicy
[KnownTypeAttribute(typeof(PrerequisiteMatchingCriterion))]
[KnownTypeAttribute(typeof(WeightedMatchingCriterion))]
[DataContractAttribute(Name = "MatchingPolicy", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(DateMatchingCriterion))]
[KnownTypeAttribute(typeof(StringMatchingCriterion))]
[KnownTypeAttribute(typeof(SimilarMatchingCriterion))]
[KnownTypeAttribute(typeof(ExactMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericByDifferenceMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericByPercentageMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericMatchingCriterion))]
public class MatchingPolicy
[KnownTypeAttribute(typeof(PrerequisiteMatchingCriterion))]
[KnownTypeAttribute(typeof(WeightedMatchingCriterion))]
[DataContractAttribute(Name = L"MatchingPolicy", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
[KnownTypeAttribute(typeof(DateMatchingCriterion))]
[KnownTypeAttribute(typeof(StringMatchingCriterion))]
[KnownTypeAttribute(typeof(SimilarMatchingCriterion))]
[KnownTypeAttribute(typeof(ExactMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericByDifferenceMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericByPercentageMatchingCriterion))]
[KnownTypeAttribute(typeof(NumericMatchingCriterion))]
public ref class MatchingPolicy
[<KnownTypeAttribute(typeof(PrerequisiteMatchingCriterion))>]
[<KnownTypeAttribute(typeof(WeightedMatchingCriterion))>]
[<DataContractAttribute(Name = "MatchingPolicy", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
[<KnownTypeAttribute(typeof(DateMatchingCriterion))>]
[<KnownTypeAttribute(typeof(StringMatchingCriterion))>]
[<KnownTypeAttribute(typeof(SimilarMatchingCriterion))>]
[<KnownTypeAttribute(typeof(ExactMatchingCriterion))>]
[<KnownTypeAttribute(typeof(NumericByDifferenceMatchingCriterion))>]
[<KnownTypeAttribute(typeof(NumericByPercentageMatchingCriterion))>]
[<KnownTypeAttribute(typeof(NumericMatchingCriterion))>]
type MatchingPolicy =  class end
public class MatchingPolicy

The MatchingPolicy type exposes the following members.

Constructors

  Name Description
Public method MatchingPolicy Infrastructure. Initializes a new instance of the MatchingPolicy class.

Top

Properties

  Name Description
Public property Rules Infrastructure. Gets or sets the matching rules of the policy.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace