ESRI.ArcGIS.ADF.Connection.Local
CopyToServerContext Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.Local Namespace > Converter Class : CopyToServerContext Method




o
Object to copy.
from
ServerContext to copy from.
to
ServerContext to copy to.
Copy object from one server context to another.

Syntax

Visual Basic (Declaration) 
Public Shared Function CopyToServerContext( _
   ByVal o As Object, _
   ByVal from As ESRI.ArcGIS.Server.IServerContext, _
   ByVal to As ESRI.ArcGIS.Server.IServerContext _
) As Object
Visual Basic (Usage)Copy Code
Dim o As Object
Dim from As ESRI.ArcGIS.Server.IServerContext
Dim to As ESRI.ArcGIS.Server.IServerContext
Dim value As Object
 
value = Converter.CopyToServerContext(o, from, to)
C# 
public static object CopyToServerContext( 
   object o,
   ESRI.ArcGIS.Server.IServerContext from,
   ESRI.ArcGIS.Server.IServerContext to
)

Parameters

o
Object to copy.
from
ServerContext to copy from.
to
ServerContext to copy to.

Return Value

Copied object.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.