SPWebApplication.AllowAccessToWebPartCatalog-Eigenschaft

Dient zum Abrufen oder Festlegen eines Werts, das angibt, ob Websites in der Webanwendung Webparts aus dem globalen Katalog verwenden können.

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

Syntax

'Declaration
Public Property AllowAccessToWebPartCatalog As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowAccessToWebPartCatalog

instance.AllowAccessToWebPartCatalog = value
public bool AllowAccessToWebPartCatalog { get; set; }

Eigenschaftswert

Typ: System.Boolean
true Wenn Websites Webparts aus dem globalen Webpart-Katalog verwenden können; andernfalls false. Der Standardwert ist true.

Siehe auch

Referenz

SPWebApplication Klasse

SPWebApplication-Member

Microsoft.SharePoint.Administration-Namespace