Share via


ResourceStoreCOM.Delete Method

Removes a resource from the resource store.

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 Delete ( _
    resourcePath As String _
) As Boolean
'Usage
Dim instance As ResourceStoreCOM
Dim resourcePath As String
Dim returnValue As Boolean

returnValue = instance.Delete(resourcePath)
public bool Delete(
    string resourcePath
)

Parameters

  • resourcePath
    Type: System.String

    The path of the resource to remove.

Return Value

Type: System.Boolean
[true] if the resource was removed; otherwise, [false].

Implements

IResourceStoreCOM.Delete(String)

See Also

Reference

ResourceStoreCOM Class

ResourceStoreCOM Members

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