共用方式為


ItemMetadataSchema.IdentityRules 屬性

取得 IdentityRule 物件的集合,這些物件會定義用來在複寫中識別項目的方式。

命名空間: Microsoft.Synchronization.SimpleProviders
組件: Microsoft.Synchronization.SimpleProviders (在 microsoft.synchronization.simpleproviders.dll)

語法

'宣告
Public ReadOnly Property IdentityRules As IEnumerable(Of IdentityRule)
'用途
Dim instance As ItemMetadataSchema
Dim value As IEnumerable(Of IdentityRule)

value = instance.IdentityRules
public IEnumerable<IdentityRule> IdentityRules { get; }
public:
property IEnumerable<IdentityRule^>^ IdentityRules {
    IEnumerable<IdentityRule^>^ get ();
}
/** @property */
public IEnumerable<IdentityRule> get_IdentityRules ()
public function get IdentityRules () : IEnumerable<IdentityRule>

屬性值

IdentityRule 物件的集合,這些物件會定義用來在複寫中識別項目的方式。

備註

識別規則會指定應該使用哪個或哪些自訂欄位 (CustomFields) 來識別項目存放區中的項目或變更單位。如需簡單提供者中繼資料的詳細資訊,請參閱管理簡單提供者的中繼資料

請參閱

參考

ItemMetadataSchema 類別
ItemMetadataSchema 成員
Microsoft.Synchronization.SimpleProviders 命名空間