IADsServiceOperations

   

IADsServiceOperations

IADsServiceOperations::ADsPath

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

IADsServiceOperations::Class

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

IADsServiceOperations::Continue

Description Resumes a previously paused service
Provider Support WinNT
Syntax Continue()
Data Type None

IADsServiceOperations::Get

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

IADsServiceOperations::GetEx

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

IADsServiceOperations::GetInfo

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

IADsServiceOperations::GetInfoEx

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

IADsServiceOperations::GUID

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

IADsServiceOperations::Name

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

IADsServiceOperations::Parent

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

IADsServiceOperations::Pause

Description Pauses a running service
Provider Support WinNT
Syntax Pause()
Data Type None

IADsServiceOperations::Put

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

IADsServiceOperations::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

IADsServiceOperations::Schema

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

IADsServiceOperations::SetInfo

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

IADsServiceOperations::SetPassword

Description Sets a new password to be used for the service account
Provider Support WinNT
Syntax SetPassword(NewPassword As String)
Data Type None

IADsServiceOperations::Start

Description Starts a stopped service
Provider Support WinNT
Syntax Start()
Data Type None

IADsServiceOperations::Status

Description Returns the status of the currently bound service
Provider Support WinNT
Data Type Long
Read-Only? Yes
IADsServiceOperations::Status Return Values
Flag Value
ADS_SERVICE_STOPPED 0x00000001
ADS_SERVICE_START_PENDING 0x00000002
ADS_SERVICE_STOP_PENDING 0x00000003
ADS_SERVICE_RUNNING 0x00000004
ADS_SERVICE_CONTINUE_PENDING 0x00000005
ADS_SERVICE_PAUSE_PENDING 0x00000006
ADS_SERVICE_PAUSED 0x00000007
ADS_SERVICE_ERROR 0x00000008

IADsServiceOperations::Stop

Description Stops a running service
Provider Support WinNT
Syntax Stop()
Data Type None

   
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