This document is archived and information here might be outdated.  Recommended version.


IServiceUploadsClient.ServiceUploadFile Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GISClient)  

IServiceUploadsClient.ServiceUploadFile Method

Uploads a file to the server without breaking it into parts.

[Visual Basic .NET]
Public Function ServiceUploadFile ( _
    ByVal file As String, _
    ByVal Description As String, _
    ByVal pTargetService As IAGSServerObjectName _
) As IUploadItem
[C#]
public IUploadItem ServiceUploadFile (
    string file,
    string Description,
    IAGSServerObjectName pTargetService
);
[C++]
HRESULT ServiceUploadFile(
  BSTR file,
  BSTR Description,
  IAGSServerObjectName* pTargetService,
  IUploadItem** ppUploadedItem
);
[C++]

Parameters file [in] file is a parameter of type BSTR Description [in] Description is a parameter of type BSTR pTargetService [in]
pTargetService is a parameter of type IAGSServerObjectName ppUploadedItem [out, retval]
ppUploadedItem is a parameter of type IUploadItem

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IServiceUploadsClient Interface