CatalogConnectionManager.AddCatalogConnection method (CatalogConnectionSettings)
Add a catalog connection to the site that is specified in the constructor.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub AddCatalogConnection ( _
catalogInfo As CatalogConnectionSettings _
)
'Usage
Dim instance As CatalogConnectionManager
Dim catalogInfo As CatalogConnectionSettings
instance.AddCatalogConnection(catalogInfo)
public void AddCatalogConnection(
CatalogConnectionSettings catalogInfo
)
Parameters
catalogInfo
Type: Microsoft.SharePoint.Publishing.CatalogConnectionSettingsSettings for the catalog that is being added.
Remarks
Use the GetPublishingCatalog(SPSite, String) method to return catalog information and default settings.
The connection is committed to the term store when the Update() method is called.
See also
Reference
CatalogConnectionManager class
CatalogConnectionManager members
Microsoft.SharePoint.Publishing namespace
CatalogConnectionSettings