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


IServiceUploadsClient.ServiceUploadFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IS > IServiceUploadsClient Interface > IServiceUploadsClient.ServiceUploadFile Method
ArcGIS Developer Help

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
);
[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*

Product Availability

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

See Also

IServiceUploadsClient Interface