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


IServiceUploader.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 > IServiceUploader Interface > IServiceUploader.ServiceUploadFile Method
ArcGIS Developer Help

IServiceUploader.ServiceUploadFile Method

.

[Visual Basic .NET]
Public Function ServiceUploadFile ( _
    ByVal file As String, _
    ByVal Description As String, _
    ByVal pTargetService As IAGSServerObjectName, _
    ByVal pTrackCancel As ITrackCancel _
) As IUploadItem
[C#]
public IUploadItem ServiceUploadFile (
    string file,
    string Description,
    IAGSServerObjectName pTargetService,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT ServiceUploadFile(
  BSTR file,
  BSTR Description,
  IAGSServerObjectName* pTargetService,
  ITrackCancel* pTrackCancel
);
[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* pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

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

See Also

IServiceUploader Interface