IADsFileServiceOperations::Resources

Gets an interface pointer IADsCollection on a collection that consists of the resource objects that represent the current open resources on this file service.

HRESULT IADsFileServiceOperations::Resources(
  IADsCollection ** ppResources  // Current open resources for this 
                                 // file service.
);
 

Parameter

ppResources
[out] Indirect pointer to the IADsCollection interface that can then be used to enumerate the ADSI Resource Objects that represent the current open resources in use for this file service.

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The interface pointer on the resource collection object has been successfully retrieved.

Remarks

Traditional directory services supply information only about directory service elements that are represented in the underlying data store. Information about resources for file services may not be available from the underlying store.

Notes to Implementers

If your object does not support dependent resource objects for file services, return E_NOTIMPL from this method.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows CE: Unsupported.
  Header: Declared in iads.h.

See Also

IADsFileService, ADSI Service Object