IADsService

   

IADsService

IADsService::ADsPath

Description Returns the distinguished name of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService::Class

Description Returns the object class definition of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService::Dependencies

Description Establishes the names of the services or load groups that must also be loaded to start this service
Provider Support WinNT
Data Type Variant
Read-Only? No

IADsService::DisplayName

Description Establishes the display name of the service
Provider Support WinNT
Data Type Name
Read-Only? No

IADsService::ErrorControl

Description Establishes the actions to be taken upon service failure
Provider Support WinNT
Data Type Long
Read-Only? No
IADsService::ErrorControl Flag Values
Flag Value
ADS_SERVICE_ERROR_IGNORE 0x00000000
ADS_SERVICE_ERROR_NORMAL 0x00000001
ADS_SERVICE_ERROR_SEVERE 0x00000002
ADS_SERVICE_ERROR_CRITICAL 0x00000003

IADsService::Get

Description Retrieves a value from a namespace by name
Provider Support WinNT
Syntax Get(Name As String)
Data Type Variant

IADsService::GetEx

Description Retrieves a single value from a multi-valued attribute
Provider Support WinNT
Syntax GetEx(Name As String)
Data Type Variant

IADsService::GetInfo

Description Loads all property values into the cache
Provider Support WinNT
Syntax GetInfo()
Data Type None

IADsService::GetInfoEx

Description Loads specific properties into the cache
Provider Support WinNT
Syntax GetInfoEx(Properties As Variant, Reserved as Long)
Data Type None

IADsService::GUID

Description Returns the GUID of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService::HostComputer

Description Establishes the host of the currently bound service
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::LoadOrderGroup

Description Establishes the load order group used with the currently bound service
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::Name

Description Returns the relative name of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService::Parent

Description Returns the ADsPath of the parent object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService:: Path

Description Establishes the path of the executable associated with the bound service
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::Put

Description Allows population of a single attribute by name
Provider Support WinNT
Syntax Put(Name As String, Property As Variant)
Data Type None

IADsService::PutEx

Description Allows population of a multi-valued property by name
Provider Support WinNT
Syntax PutEx(ControlCode As Long, Name As String, Property As Variant)
Data Type None

IADsService::Schema

Description Returns the ADsPath to the schema class object for the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes

IADsService::ServiceAccountName

Description Establishes the username of the user account to be used with the service
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::ServiceAccountPath

Description Establishes the ADsPath to the user account to be used for service authentication
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::ServiceType

Description Establishes the process type in which the bound service will be run
Provider Support WinNT
Data Type Long
Read-Only? No
IADsService::ServiceType Flag Values
Flag Value
ADS_SERVICE_KERNAL_DRIVER 0x00000001
ADS_SERVICE_FILE_SYSTEM_DRIVER 0x00000002
ADS_SERVICE_OWN_PROCESS 0x00000010
ADS_SERVICE_SHARE_PROCESS 0x00000020

IADsService::SetInfo

Description Writes the current properties held in the cache to the directory
Provider Support WinNT
Syntax SetInfo()
Data Type None

IADsService::StartType

Description Establishes how the service will start
Provider Support WinNT
Data Type Long
Read-Only? No
IADsService::StartType Flag Values
Flag Value
ADS_SERVICE_BOOT_START
ADS_SERVICE_SYSTEM_START 1
ADS_SERVICE_AUTO_START 2
ADS_SERVICE_DEMAND_START 3
ADS_SERVICE_DISABLED 4

IADsService::StartupParameters

Description Establishes the arguments passed to the service at startup
Provider Support WinNT
Data Type String
Read-Only? No

IADsService::Version

Description Establishes version information for the service
Provider Support WinNT
Data Type String
Read-Only? No

   
Top


Windows NT. 2000 ADSI Scripting for System Administration
Windows NT/2000 ADSI Scripting for System Administration
ISBN: 1578702194
EAN: 2147483647
Year: 2000
Pages: 194
Authors: Thomas Eck

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net