This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IS > IServiceUploadsClient Interface > IServiceUploadsClient.ServiceUploadFile Method (ArcObjects .NET 10.4 SDK) |
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