Share via


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

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

Implements

IResourceStoreCOM.Download(String)

See Also

Reference

ResourceStoreCOM Class

ResourceStoreCOM Members

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