CatalogConnectionManager.Contains method
Indicates whether a connection to the catalog exists in the site that is specified in the constructor.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function Contains ( _
catalogPath As String _
) As Boolean
'Usage
Dim instance As CatalogConnectionManager
Dim catalogPath As String
Dim returnValue As Boolean
returnValue = instance.Contains(catalogPath)
public bool Contains(
string catalogPath
)
Parameters
catalogPath
Type: System.StringThe URL that identifies the catalog as the URL is stored in the search index. If the catalog is a SPList object, then this is the absolute URL.
Return value
Type: System.Boolean
true if a connection to the catalog exists in the site that is specified in the constructor; otherwise, false.
Remarks
Committed to the term store when the Update() method is called.
See also
Reference
CatalogConnectionManager class