The methods of the IADsService interface read and write the properties described in this topic. For more information see Interface Property Methods.
Property | Access | Method Prototype |
---|---|---|
Dependencies | R/W | HRESULT get_Dependencies ([out] VARIANT *pvServiceDepend);
HRESULT put_Dependencies |
DisplayName | R/W | HRESULT get_DisplayName ([out] BSTR *pbstrDisplayName);
HRESULT put_DisplayName |
ErrorControl | R/W | HRESULT get_ErrorControl ([out] LONG *plErrorControl);
HRESULT put_ErrorControl |
HostComputer | R/W | HRESULT get_HostComputer ([out] BSTR *pbstrHostComputer);
HRESULT put_HostComputer |
LoadOrderGroup | R/W | HRESULT get_LoadOrderGroup ([out] BSTR *pbstrLoadOrderGroup);
HRESULT put_LoadOrderGroup |
Path | R/W | HRESULT get_Path ([out] BSTR *pbstrPath);
HRESULT put_Path |
ServiceAccountName | R/W | HRESULT get_ServiceAccountName ([out] BSTR *pbstrServiceAccountName);
HRESULT put_ServiceAccountName |
ServiceAccountPath | R/W | HRESULT get_ServiceAccountPath ([out] BSTR *pbstrServiceAccountPath);
HRESULT put_ServiceAccountPath |
ServiceType | R/W | HRESULT get_ServiceType ([out] LONG *plServiceType);
HRESULT put_ServiceType |
StartType | R/W | HRESULT get_StartType ([out] LONG *plStartType);
HRESULT put_StartType |
StartupParameters | R/W | HRESULT get_StartupParameters ([out] BSTR *pbstrStartupParameters);
HRESULT put_StartupParameters |
Version | R/W | HRESULT get_Version ([out] BSTR *pbstrVersion);
HRESULT put_Version |
ADS_SERVICE_ERROR_IGNORE | 0x00000000 |
ADS_SERVICE_ERROR_NORMAL | 0x00000001 |
ADS_SERVICE_ERROR_SEVERE | 0x00000002 |
ADS_SERVICE_ERROR_CRITICAL | 0x00000003 |
ADS_SERVICE_KERNEL_DRIVER | 0x00000001 |
ADS_SERVICE_FILE_SYSTEM_DRIVER | 0x00000002 |
ADS_SERVICE_OWN_PROCESS | 0x00000010 |
ADS_SERVICE_SHARE_PROCESS | 0x00000020 |
Property | Access | Method Prototype |
---|---|---|
Status | R/O | HRESULT get_Status ([out] LONG *plStatus); |
ADS_SERVICE_STOPPED | 0X00000001 |
ADS_SERVICE_START_PENDING | 0X00000002 |
ADS_SERVICE_STOP_PENDING | 0x00000003 |
ADS_SERVICE_STOP_RUNNING | 0x00000004 |
ADS_SERVICE_CONTINUE_PENDING | 0x00000005 |
ADS_SERVICE_PAUSE_PENDING | 0x00000006 |
ADS_SERVICE_PAUSED | 0x00000007 |
ADS_SERVICE_ERROR | 0x00000008 |
IADsFileService, IADsFileServiceOperations, IADsServiceOperations, ADSI Service Object