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


IServerObjectAdmin6.UploadData Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IServerObjectAdmin6.UploadData Method

Uploads data to server and saves it as a file in the input directory of the given configuration.

[Visual Basic .NET]
Public Sub UploadData ( _
    ByVal cfgName As String, _
    ByVal cfgType As String, _
    ByVal fileName As String, _
    ByRef data As Byte[]& _
)
[C#]
public void UploadData (
    string cfgName,
    string cfgType,
    string fileName,
    ref Byte[]& data
);
[C++]
HRESULT UploadData(
  BSTR cfgName,
  BSTR cfgType,
  BSTR fileName,
  data* data
);
[C++]

Parameters cfgName [in] cfgName is a parameter of type BSTR cfgType [in] cfgType is a parameter of type BSTR fileName [in] fileName is a parameter of type BSTR data [in] data is a parameter of type

Product Availability

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

See Also

IServerObjectAdmin6 Interface