ResourceStore.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
Sub Upload ( _
path As String, _
resource As Stream _
)
'Usage
Dim instance As ResourceStore
Dim path As String
Dim resource As Stream
instance.Upload(path, resource)
void Upload(
string path,
Stream resource
)
Parameters
path
Type: System.StringThe path of the resource to be uploaded.
resource
Type: System.IO.StreamThe stream to use for the upload operation.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage Namespace