PublishingCatalogUtility.GetPublishingCatalog method (SPSite, String)

Retrieves a shared catalog that is available for subscription.

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

Syntax

'Declaration
Public Shared Function GetPublishingCatalog ( _
    site As SPSite, _
    catalogPath As String _
) As CatalogConnectionSettings
'Usage
Dim site As SPSite
Dim catalogPath As String
Dim returnValue As CatalogConnectionSettings

returnValue = PublishingCatalogUtility.GetPublishingCatalog(site, _
    catalogPath)
public static CatalogConnectionSettings GetPublishingCatalog(
    SPSite site,
    string catalogPath
)

Parameters

  • catalogPath
    Type: System.String

    The absolute URL of the shared catalog.

Return value

Type: Microsoft.SharePoint.Publishing.CatalogConnectionSettings
A shared catalog that is available for subscription.

See also

Reference

PublishingCatalogUtility class

PublishingCatalogUtility members

GetPublishingCatalog overload

Microsoft.SharePoint.Publishing namespace