ArcObjects Library Reference (Server)  

IServerObjectAdmin.GetServerDirectory Method

Get the server directory with the specified Path.

[Visual Basic .NET]
Public Function GetServerDirectory ( _
    ByVal Path As String _
) As IServerDirectory
[C#]
public IServerDirectory GetServerDirectory (
    string Path
);
[C++]
HRESULT GetServerDirectory(
  BSTR Path,
  IServerDirectory** ppSD
);
[C++]

Parameters

Path [in]   Path is a parameter of type BSTR ppSD [out, retval]

  ppSD is a parameter of type IServerDirectory

Product Availability

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

Remarks

The GetServerDirectory method returns the IServerDirectory interface on the ServerDirectory whose path is specified. Once you have a reference to the ServerDirectory, you can get and set its properties, and use it as input the UpdateServerDirectery method.

 

See Also

IServerObjectAdmin Interface