Partager via


PublishingCatalogUtility.GetPublishingCatalog - Méthode (SPSite, String)

Récupère un catalogue partagé qui est disponible pour l'abonnement.

Espace de noms :  Microsoft.SharePoint.Publishing
Assembly :  Microsoft.SharePoint.Publishing (dans Microsoft.SharePoint.Publishing.dll)

Syntaxe

'Déclaration
Public Shared Function GetPublishingCatalog ( _
    site As SPSite, _
    catalogPath As String _
) As CatalogConnectionSettings
'Utilisation
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
)

Paramètres

  • catalogPath
    Type : System.String

    L'URL absolue du catalogue partagé.

Valeur renvoyée

Type : Microsoft.SharePoint.Publishing.CatalogConnectionSettings
Un catalogue partagé qui est disponible pour l'abonnement.

Voir aussi

Référence

PublishingCatalogUtility classe

PublishingCatalogUtility - Membres

GetPublishingCatalog - Surcharge

Microsoft.SharePoint.Publishing - Espace de noms