ItemMetadataSchema 构造函数 (泛型 IEnumerable, 泛型 IEnumerable, 泛型 IEnumerable)

初始化 ItemMetadataSchema 类的一个新实例,它包含与自定义字段、如何标识项以及如何定义变更单位有关的信息。

命名空间: Microsoft.Synchronization.SimpleProviders
程序集: Microsoft.Synchronization.SimpleProviders(在 microsoft.synchronization.simpleproviders.dll 中)

语法

声明
Public Sub New ( _
    customFields As IEnumerable(Of CustomFieldDefinition), _
    identityRules As IEnumerable(Of IdentityRule), _
    changeUnitVersionDefinitions As IEnumerable(Of ChangeUnitVersionDefinition) _
)
用法
Dim customFields As IEnumerable(Of CustomFieldDefinition)
Dim identityRules As IEnumerable(Of IdentityRule)
Dim changeUnitVersionDefinitions As IEnumerable(Of ChangeUnitVersionDefinition)

Dim instance As New ItemMetadataSchema(customFields, identityRules, changeUnitVersionDefinitions)
public ItemMetadataSchema (
    IEnumerable<CustomFieldDefinition> customFields,
    IEnumerable<IdentityRule> identityRules,
    IEnumerable<ChangeUnitVersionDefinition> changeUnitVersionDefinitions
)
public:
ItemMetadataSchema (
    IEnumerable<CustomFieldDefinition^>^ customFields, 
    IEnumerable<IdentityRule^>^ identityRules, 
    IEnumerable<ChangeUnitVersionDefinition^>^ changeUnitVersionDefinitions
)
public ItemMetadataSchema (
    IEnumerable<CustomFieldDefinition> customFields, 
    IEnumerable<IdentityRule> identityRules, 
    IEnumerable<ChangeUnitVersionDefinition> changeUnitVersionDefinitions
)
public function ItemMetadataSchema (
    customFields : IEnumerable<CustomFieldDefinition>, 
    identityRules : IEnumerable<IdentityRule>, 
    changeUnitVersionDefinitions : IEnumerable<ChangeUnitVersionDefinition>
)

参数

  • customFields
    由多个 CustomFieldDefinition 对象构成的一个集合,其中的每个对象分别表示一个自定义字段。字段可用于标识元数据中的项或存储与项有关的版本信息。
  • identityRules
    定义在副本内标识项的方式的 IdentityRule 对象的集合。
  • changeUnitVersionDefinitions
    由多个 ChangeUnitVersionDefinition 对象构成的集合,这些对象表示根据 ID、ID 格式以及定义变更单位的版本的一组字段标识变更单位的方式。

请参阅

参考

ItemMetadataSchema 类
ItemMetadataSchema 成员
Microsoft.Synchronization.SimpleProviders 命名空间