PackageContents enumeration

Represents an enumeration that identifies what a metadata XML file contains.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.Office.BusinessData.Parser
Assembly:  Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)

[FlagsAttribute]
[DataContractAttribute(Name = "PackageContents", Namespace = "Microsoft.SharePoint.BusinessData")]
public enum PackageContents

Member nameDescription
NoneSpecifies no flags are set yet (= 0x0).
ModelSpecifies use of only the metadata (= 0x1).
LocalizedNamesSpecifies to use only localized names. When importing an object, the object structure must mirror the existing structure in the database.This is a MERGE semantic; localized names are added to those that already exist (= 0x2).
PermissionsSpecifies use of only access control lists (ACLs). When importing an object, the object structure must mirror the existing structure in the database. This is a REPLACE semantic; the ACL on each object mirrors those in the file after import (= 0x4).
PropertiesSpecifies use of only properties. When importing, the object structure must mirror the existing structure in the database. This is a MERGE semantic; properties are added to those that already exist (= 0x8).
InlineProxiesIf used with Import, looks for and imports the external system's proxy from the metadata file (external system) element itself. This option is not available on the server. If used with Export, exports the external system's proxy if available by reading it from the database inline with the metadata file (= 0x10).
AllSpecifies the metadata is all flags (= 0x1F).

Community Additions

Show: