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


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

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,
  IUploadItem** ppUploadItem
);
[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 ppUploadItem [out, retval]
ppUploadItem is a parameter of type IUploadItem

Product Availability

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

See Also

IServiceUploader Interface