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

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

IServerObjectAdmin2.RenameFolder Method

Renames a server configuration folder.

[Visual Basic .NET]
Public Sub RenameFolder ( _
    ByVal folderName As String, _
    ByVal newName As String _
public void RenameFolder (
    string folderName,
    string newName
HRESULT RenameFolder(
  BSTR folderName,
  BSTR newName
folderName [in]

folderName is a parameter of type BSTR newName [in]
newName is a parameter of type BSTR

Product Availability

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

See Also

IServerObjectAdmin2 Interface