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
hubSite
Type: Microsoft.SharePoint.SPSiteThe hub site
Return Value
Type: System.Boolean
Returns Boolean.