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


IServerMachineEnvironment.GetEnvVariable Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IServerMachineEnvironment.GetEnvVariable Method

[Visual Basic .NET]
Public Function GetEnvVariable ( _
    ByVal Name As String _
) As String
[C#]
public string GetEnvVariable (
    string Name
);
[C++]
HRESULT GetEnvVariable(
  BSTR Name,
  BSTR* pVal
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR pVal [out, retval] pVal is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IServerMachineEnvironment Interface