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


IServiceUploadsClient.ServiceUploadPart Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GISClient)  

IServiceUploadsClient.ServiceUploadPart Method

Uploads a part for the upload item.

[Visual Basic .NET]
Public Sub ServiceUploadPart ( _
    ByVal pUploadItem As IUploadItem, _
    ByVal file As String, _
    ByVal uploadPartNumber As Integer, _
    ByVal offset As Long, _
    ByVal bytesToWrite As Integer, _
    ByVal pTargetService As IAGSServerObjectName _
)
[C#]
public void ServiceUploadPart (
    IUploadItem pUploadItem,
    string file,
    int uploadPartNumber,
    ulong offset,
    int bytesToWrite,
    IAGSServerObjectName pTargetService
);
[C++]
HRESULT ServiceUploadPart(
  IUploadItem* pUploadItem,
  BSTR file,
  long uploadPartNumber,
  Unsigned 64-bit int offset,
  long bytesToWrite,
  IAGSServerObjectName* pTargetService
);
[C++]

Parameters pUploadItem [in]
pUploadItem is a parameter of type IUploadItem* file [in]
file is a parameter of type BSTR uploadPartNumber [in]
uploadPartNumber is a parameter of type long offset [in]
offset is a parameter of type uint64 bytesToWrite [in]
bytesToWrite is a parameter of type long pTargetService [in]
pTargetService is a parameter of type IAGSServerObjectName*

Product Availability

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

See Also

IServiceUploadsClient Interface