Share via


IResourceStoreCOM.Download Method

Downloads 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
Function Download ( _
    resourcePath As String _
) As Byte()
'Usage
Dim instance As IResourceStoreCOM
Dim resourcePath As String
Dim returnValue As Byte()

returnValue = instance.Download(resourcePath)
byte[] Download(
    string resourcePath
)

Parameters

  • resourcePath
    Type: System.String

    The path of the resource to download.

Return Value

Type: []
A byte array containing the resource data or [null] if the operation failed.

See Also

Reference

IResourceStoreCOM Interface

IResourceStoreCOM Members

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