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


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

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(
void
);

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