Share via


ResourceStoreCOM.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
Public Function Exists ( _
    resourcePath As String _
) As Integer
'Usage
Dim instance As ResourceStoreCOM
Dim resourcePath As String
Dim returnValue As Integer

returnValue = instance.Exists(resourcePath)
public 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.

Implements

IResourceStoreCOM.Exists(String)

See Also

Reference

ResourceStoreCOM Class

ResourceStoreCOM Members

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