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


IServerObjectAdmin2.GetFolders 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.GetFolders Method
ArcGIS Developer Help

IServerObjectAdmin2.GetFolders Method

An array of folder names in the server configuration folder.

[Visual Basic .NET]
Public Function GetFolders ( _
    ByVal folderName As String _
) As IEnumBSTR
[C#]
public IEnumBSTR GetFolders (
    string folderName
);
[C++]
HRESULT GetFolders(
  BSTR folderName
);
[C++]
Parameters
folderName [in]

folderName is a parameter of type BSTR

Product Availability

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

See Also

IServerObjectAdmin2 Interface