Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPWebApplication.AllowAccessToWebPartCatalog property

Gets or sets a value that indicates whether sites in the Web application can use Web Parts from the global catalog.

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

public bool AllowAccessToWebPartCatalog { get; set; }

Property value

Type: System.Boolean
true if sites can use Web Parts from the global Web Part Catalog; otherwise, false. The default value is true.
Show:
© 2015 Microsoft