Platform SDK: Active Directory, ADSI, and Directory Services

IADsFileService

The IADsFileService interface 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.

IADsFileService is a dual interface that inherits from IADsService. The IADsFileService interface exposes the following property methods.

Methods in Vtable Order

IUnknown methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDispatch methods Description
GetTypeInfoCount Gets the number of type descriptions.
GetTypeInfo Gets a description of object's programmable interface.
GetIDsOfNames Maps name of method or property to DISPID.
Invoke Calls one of the object's methods, or gets and sets one of its properties.

IADsFileService property methods 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

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

IADsFileService Property Methods, IADsFileServiceOperations, IADsServiceOperations, IADsService