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


IServerObjectConfiguration2.Serialize Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IServerObjectConfiguration2.Serialize Method

Serializes the server object configuration into a string.

[Visual Basic .NET]
Public Function Serialize ( _
) As String
[C#]
public string Serialize (
);
[C++]
HRESULT Serialize(
  BSTR* str
);
[C++]

Parameters str [out, retval] str is a parameter of type BSTR

Product Availability

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

Remarks

The Serialize and Deserialize methods allow you to serialize server object configurations to strings, then deserialize them back into server object configurations. This can be useful when copying server object configurations between two GIS servers.

See Also

IServerObjectConfiguration2 Interface