Compartilhar via


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.SharePoint.BusinessData.Parser
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<FlagsAttribute> _
<DataContractAttribute(Name := "PackageContents", Namespace := "Microsoft.SharePoint.BusinessData")> _
Public Enumeration PackageContents
'Usage
Dim instance As PackageContents
[FlagsAttribute]
[DataContractAttribute(Name = "PackageContents", Namespace = "Microsoft.SharePoint.BusinessData")]
public enum PackageContents

Members

Member name Description
None Specifies no flags are set yet (= 0x0).
Model Specifies the use of only the metadata (= 0x1).
LocalizedNames Specifies the use of only localized names; object structure must mirror existing structure in database when importing.This is a MERGE semantic; localized names are added to those that already exist (= 0x2).
Permissions Specifies the use of only access control lists (ACLs); object structure must mirror existing structure in database when importing. This is a REPLACE semantic; the ACL on each object mirrors those in the file after import (= 0x4).
Properties Specifies the use of only properties; object structure must mirror existing structure in database when importing. This is a MERGE semantic; properties are added to those that already exist (= 0x8).
InlineProxies If used with Import, will look for and import the external system's proxy from the metadata file itself. This option is not available on the server. If used with Export, will export the external system's proxy if available by reading it from the database inline with the metadata file (= 0x10).
All Specifies all flags (= 0x1F).

See Also

Reference

Microsoft.SharePoint.BusinessData.Parser Namespace