Set the active server connection, if running in a tracking server environment or service environment in a client application.
[Visual Basic .NET] Public Sub SetServerConnection ( _ ByVal piServerConnection As IServerConnection _ )
[C#] public void SetServerConnection ( IServerConnection piServerConnection );
[C++]
HRESULT SetServerConnection(
IServerConnection* piServerConnection
);
[C++]Parameters
piServerConnection [in]piServerConnection is a parameter of type IServerConnection
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.