Share via


DateMatchingCriterion.YearsDifference Property

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

Gets or sets the difference in years.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property YearsDifference As Integer 
    Get 
    Set
'Usage
Dim instance As DateMatchingCriterion 
Dim value As Integer 

value = instance.YearsDifference

instance.YearsDifference = value
[DataMemberAttribute]
public int YearsDifference { get; set; }
[DataMemberAttribute]
public:
property int YearsDifference {
    int get ();
    void set (int value);
}
[<DataMemberAttribute>]
member YearsDifference : int with get, set
function get YearsDifference () : int 
function set YearsDifference (value : int)

Property Value

Type: System.Int32
The difference in years.

See Also

Reference

DateMatchingCriterion Class

Microsoft.MasterDataServices.Services.DataContracts Namespace