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
site
Type : Microsoft.SharePoint.SPSiteUne collection de sites qui demande partagé des informations du catalogue de recherche.
catalogPath
Type : System.StringL'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