Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the ItemMetadataSchema class that contains information about custom fields, how to identify an item, and how change units are defined.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)
Syntax
'Declaration
Public Sub New ( _
customFields As IEnumerable(Of CustomFieldDefinition), _
identityRules As IEnumerable(Of IdentityRule), _
changeUnitVersionDefinitions As IEnumerable(Of ChangeUnitVersionDefinition) _
)
'Usage
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>
)
Parameters
- customFields
A collection of CustomFieldDefinition objects that each represent a custom field. Fields can be used to identify an item in the metadata or store version information about an item.
- identityRules
A collection of IdentityRule objects that defines the way in which an item is identified within a replica.
- changeUnitVersionDefinitions
A collection of ChangeUnitVersionDefinition objects that represent the way in which a change unit is identified in terms of an ID, an ID format, and a set of fields that define a change unit's version.
See Also
Reference
ItemMetadataSchema Class
ItemMetadataSchema Members
Microsoft.Synchronization.SimpleProviders Namespace