Share via


IResourceStoreCOM.Upload Method

Uploads a resource to 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 Upload ( _
    resourcePath As String, _
    data As Byte() _
) As Boolean
'Usage
Dim instance As IResourceStoreCOM
Dim resourcePath As String
Dim data As Byte()
Dim returnValue As Boolean

returnValue = instance.Upload(resourcePath, _
    data)
bool Upload(
    string resourcePath,
    byte[] data
)

Parameters

  • resourcePath
    Type: System.String

    The path of the resource to upload.

  • data
    Type: []

    The byte array to use for the upload operation.

Return Value

Type: System.Boolean
[true] if the resource was successfully uploaded, [false] if the operation failed.

See Also

Reference

IResourceStoreCOM Interface

IResourceStoreCOM Members

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