Directory Services

IADsFileService

The IADsFileService interface is a dual interface that inherits from IADsService. It is designed for representing file services supported in the directory service. Through this interface you can discover and modify the maximum number of users simultaneously running a file service.

To access active sessions or open resources used by the file service, you must go through the IADsFileServiceOperations interface to retrieve sessions or resources.

To examine the status of the file service or to perform service management operations, you use the IADsServiceOperations interface, which is inherited by IADsFileServiceOperations.

Methods in Vtable Order

The IADsFileService interface inherits the methods of the standard COM interfaces:

In addition, IADsFileService defines the following methods.

Method Description
get_Description Gets and sets the description of the file service.
put_Description Gets and sets the description of the file service.
get_MaxUserCount Gets and sets the maximum number of users allowed to run the service concurrently.
put_MaxUserCount Gets and sets the maximum number of users allowed to run the service concurrently.

Properties

The IADsFileService interface defines the following properties. The preceding table includes access methods for these properties.

Property Description
Description Gets and sets the description of the file service.
MaxUserCount Gets and sets the maximum number of users allowed to run the service concurrently.

Remarks

Under the WinNT provider, this interface is implemented on the WinNTService object.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

IADsFileService Property Methods, IADsFileServiceOperations, IADsServiceOperations, IADsService