Share via


IResourceStoreCOM.Exists Method

Determines whether a resource exists.

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

Syntax

'Declaration
Function Exists ( _
    resourcePath As String _
) As Integer
'Usage
Dim instance As IResourceStoreCOM
Dim resourcePath As String
Dim returnValue As Integer

returnValue = instance.Exists(resourcePath)
int Exists(
    string resourcePath
)

Parameters

Return Value

Type: System.Int32
1 if the resource exists, 2 if the resource does not exist or 0 (Zero) if the operation failed.

See Also

Reference

IResourceStoreCOM Interface

IResourceStoreCOM Members

Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage Namespace