SyncRelationship Class

Definition

两个实体之间的同步关系。A sync relationship between two entities.

public ref class SyncRelationship : Microsoft::MasterDataServices::Services::DataContracts::DataContractBase
[System.Runtime.Serialization.DataContract(Name="SyncRelationship", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class SyncRelationship : Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
type SyncRelationship = class
    inherit DataContractBase
Public Class SyncRelationship
Inherits DataContractBase
Inheritance
SyncRelationship
Attributes

Remarks

SyncRelationship复杂类型指定两个实体之间的同步关系。The SyncRelationship complex type specifies a sync relationship between two entities.

Constructors

SyncRelationship()

初始化 SyncRelationship 类的新实例。Initializes a new instance of the SyncRelationship class.

Properties

AuditInfo

指定 AuditInfoSpecifies the AuditInfo.

LastSuccessfulSyncTime

指定上次成功同步尝试的时间。Specifies the time at which the last successful sync attempt occurred.

LastSyncAttemptError

指定有关上次同步尝试的错误信息。Specifies the error info about the last sync attempt. LastSyncAttemptStatus 不为 Failed 时,则为 null。Null when LastSyncAttemptStatus is not Failed.

LastSyncAttemptStatus

指定上次同步尝试的状态。Specifies the status of the last sync attempt.

LastSyncAttemptTime

指定上次同步尝试的时间。Specifies the time at which the last sync attempt occurred.

RefreshFrequencyInHours

指定同步频率。Specifies the sync frequency. 零或 null 表示仅按需同步。Zero or null for on-demand sync only.

SourceEntityId

指定源实体的标识符。Specifies the identifier of source entity.

SourceModelId

指定源模型的标识符。Specifies the identifier of source model.

SourceVersionId

指定源模型版本的标识符。Specifies the identifier of source model version.

TargetEntityId

指定目标实体的标识符。Specifies the identifier of target entity.

TargetModelId

指定目标模型的标识符。Specifies the identifier of target model.

TargetVersionId

指定目标模型版本的标识符。Specifies the identifier of target model version.

Methods

SetProperty<T>(T, T, String)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to