IADsFileService interface

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.

Members

The IADsFileService interface inherits from IDispatch, IADs, and IADsService. IADsFileService also has these types of members:

Methods

The IADsFileService interface has these methods.

MethodDescription
Get

Gets the value for a property by name.

GetEx

Gets the value for a single or multi-valued property by name.

GetInfo

Loads the property values of this object from the underlying directory store.

GetInfoEx

Loads specific property values of this object from the underlying directory store.

Put

Sets the value for a property by name.

PutEx

Sets the value for a single or multi-valued property by name.

SetInfo

Persists the changes on this object to the underlying directory store.

 

Properties

The IADsFileService interface has these properties.

PropertyAccess typeDescription

AdsPath

Read-only

Gets the object's ADsPath that uniquely identifies this object from all others.

Class

Read-only

Gets the name of the object's schema class.

Dependencies

Read/write

Gets and sets the array of BSTR names of services or load groups that must be loaded in order for this service to load.

Description

Read/write

Gets and sets the description of the file service.

DisplayName

Read/write

Gets and sets the display name of this service.

ErrorControl

Read/write

Gets and sets the actions taken in case of service failure.

GUID

Read-only

Gets the GUID of the object as stored in the underlying directory store.

HostComputer

Read/write

Gets and sets the host of this service.

LoadOrderGroup

Read/write

Gets and sets the load order group for this service.

MaxUserCount

Read/write

Gets and sets the maximum number of users allowed to run the service concurrently.

Name

Read-only

Gets the object's relative name.

Parent

Read-only

Gets the ADsPath string for the parent of the object.

Path

Read/write

Gets and sets the path and filename of the executable.

Schema

Read-only

Gets the ADsPath string to the schema class object for this object.

ServiceAccountName

Read/write

Gets and sets the authentication account name.

ServiceAccountPath

Read/write

Gets and sets the path to user object to authenticate.

ServiceType

Read/write

Gets and sets the process type in which this service runs.

StartType

Read/write

Gets and sets a value that determines how the service is started.

StartupParameters

Read/write

Gets and sets the parameters passed at start-up.

Version

Read/write

Gets and sets the version data of this service.

 

Remarks

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Iads.h

DLL

Activeds.dll

IID

IID_IADsFileService is defined as A89D1900-31CA-11CF-A98A-00AA006BC149

See also

IADsFileService Property Methods
IADsFileServiceOperations
IADsServiceOperations
IADsService

 

 

Show:
© 2014 Microsoft