共用方式為


SupportedTrustLevels Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Enumeration values that specify the trust level in SharePoint supported by the SharePoint project item.

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

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SupportedTrustLevels
[FlagsAttribute]
public enum SupportedTrustLevels

Members

Member name Description
All Indicates that the SharePoint project item supports all trust levels in SharePoint.
FullTrust Indicates that the SharePoint project item supports only farm trust level in SharePoint.
Sandboxed Indicates that the SharePoint project item supports only sandboxed trust level.

Remarks

If the SharePoint project item does not specify a trust level, then the default value of All is used. For more information, see Sandboxed Solution Considerations.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace