This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectConfiguration2 Interface > IServerObjectConfiguration2.Serialize Method (ArcObjects .NET 10.5 SDK) |
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
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.