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


IServerObjectAdmin6.UploadData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin6 Interface > IServerObjectAdmin6.UploadData Method
ArcGIS Developer Help

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,
  SAFEARRAY(System.Byte)* 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 SAFEARRAY(unsigned char)*

Product Availability

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

See Also

IServerObjectAdmin6 Interface