Copy an object from one Server Context to the current Server Context
Syntax
Visual Basic (Declaration) | |
---|
Public Function CopyObjectToServerContext( _
ByVal fromContext As ESRI.ArcGIS.Server.IServerContext, _
ByVal obj As Object _
) As Object |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As WebPageLayout
Dim fromContext As ESRI.ArcGIS.Server.IServerContext
Dim obj As Object
Dim value As Object
value = instance.CopyObjectToServerContext(fromContext, obj) |
Parameters
- fromContext
- The context to copy from
- obj
- The object to copy into the current Server Context
Return Value
The IUnknown object from the current server context
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