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


IServerMachineEnvironment.GetEnvVariable Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerMachineEnvironment Interface > IServerMachineEnvironment.GetEnvVariable Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

See Also

IServerMachineEnvironment Interface