Share via


Repository.ContainsResource Method

Checks for the existence of a resource with the given identifier.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function ContainsResource ( _
    key As String _
) As Boolean
'Usage
Dim instance As Repository
Dim key As String
Dim returnValue As Boolean

returnValue = instance.ContainsResource(key)
bool ContainsResource(
    string key
)

Parameters

Return Value

Type: System.Boolean
[True] if and only if a resource with the given identifier exists.

See Also

Reference

Repository Interface

Repository Members

Microsoft.SharePoint.Search.Extended.Administration Namespace