Gets an interface pointer IADsCollection on a collection that consists of the session objects that represent the current sessions in use for this file service.
HRESULT IADsFileServiceOperations::Sessions(
IADsCollection ** ppSessions // Current open sessions in use for
// this file service.
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Traditional directory services supply information only about directory service elements that are represented in the underlying data store. Information about sessions for file services may not be available from the underlying store..
If your object does not support dependent session objects for file services, return E_NOTIMPL from this method.
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
Header: Declared in iads.h.
IADsFileService, ADSI Service Object