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


IServerEnvironmentXHelper.ChangeLogDirectory 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.ChangeLogDirectory Method
ArcGIS Developer Help

IServerEnvironmentXHelper.ChangeLogDirectory Method

Changes the log directory for the logger configured in the server environment.

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

newLogDirectory is a parameter of type BSTR

Product Availability

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

See Also

IServerEnvironmentXHelper Interface