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


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

IServerEnvironmentXHelper.AddEnvProperty Method

Adds or updates a property into the server environment.

[Visual Basic .NET]
Public Sub AddEnvProperty ( _
    ByVal Name As String, _
    ByVal value As String _
)
[C#]
public void AddEnvProperty (
    string Name,
    string value
);
[C++]
HRESULT AddEnvProperty(
  BSTR Name,
  BSTR value
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR value [in]
value is a parameter of type BSTR

Product Availability

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

See Also

IServerEnvironmentXHelper Interface