Compartilhar via


ContentTypePublisher.IsContentTypeSharingEnabled Method

Represents a Boolean value that indicates whether the MetadataHub feature is enabled for the specified site.

Namespace:  Microsoft.SharePoint.Taxonomy.ContentTypeSync
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Shared Function IsContentTypeSharingEnabled ( _
    hubSite As SPSite _
) As Boolean
'Usage
Dim hubSite As SPSite
Dim returnValue As Boolean

returnValue = ContentTypePublisher.IsContentTypeSharingEnabled(hubSite)
public static bool IsContentTypeSharingEnabled(
    SPSite hubSite
)

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

ContentTypePublisher Class

ContentTypePublisher Members

Microsoft.SharePoint.Taxonomy.ContentTypeSync Namespace