IADsFileService

   

IADsFileService

IADsFileService::ADsPath

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

IADsFileService::Class

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

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

IADsFileService::Description

Description Establishes the description of the file service
Provider Support WinNT
Data Type String
Read-Only? No

IADsFileService::DisplayName

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

IADsFileService::ErrorControl

Description Establishes the actions to be taken upon service failure
Provider Support WinNT
Data Type Long
Read-Only? No
IADsFileService::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

IADsFileService::Get

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

IADsFileService::GetEx

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

IADsFileService::GetInfo

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

IADsFileService::GetInfoEx

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

IADsFileService::GUID

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

IADsFileService::HostComputer

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

IADsFileService::LoadOrderGroup

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

IADsFileService::MaxUserCount

Description Specifies the maximum number of users allowed to concurrently access the service
Provider Support WinNT
Data Type Long
Read-Only? No

IADsFileService::Name

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

IADsFileService::Parent

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

IADsFileService:: Path

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

IADsFileService::Put

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

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

IADsFileService::Schema

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

IADsFileService::ServiceAccountName

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

IADsFileService::ServiceAccountPath

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

IADsFileService::ServiceType

Description Establishes the process type in which the bound service will be run
Provider Support WinNT
Data Type Long
Read-Only? No
IADsFileService::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

IADsFileService::SetInfo

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

IADsFileService::StartType

Description Establishes how the service will start
Provider Support WinNT
Data Type Long
Read-Only? No
IADsFileService::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
IADsFileService::StartupParameters
Description Establishes the arguments passed to the service at startup
Provider Support WinNT
Data Type Long
Read-Only? No
IADsFileService::Version
Description Establishes version information for the service
Provider Support WinNT
Data Type String
Read-Only? No

IADsFileServiceOperations

IADsFileServiceOperations::ADsPath
Description Returns the distinguished name of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Class
Description Returns the object class definition of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Continue
Description Resumes a previously paused service
Provider Support WinNT
Syntax Continue()
Data Type None
IADsFileServiceOperations::Get
Description Retrieves a value from a namespace by name
Provider Support WinNT
Syntax Get(Name As String)
Data Type Variant
IADsFileServiceOperations::GetEx
Description Retrieves a single value from a multi-valued attribute
Provider Support WinNT
Syntax GetEx(Name As String)
Data Type Variant
IADsFileServiceOperations::GetInfo
Description Loads all property values into the cache
Provider Support WinNT
Syntax GetInfo()
Data Type None
IADsFileServiceOperations::GetInfoEx
Description Loads specific properties into the cache
Provider Support WinNT
Syntax GetInfoEx(Properties As Variant, Reserved As Long)
Data Type None
IADsFileServiceOperations::GUID
Description Returns the GUID of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Name
Description Returns the relative name of the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Parent
Description Returns the ADsPath of the parent object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Pause
Description Pauses a running service
Provider Support WinNT
Syntax Pause()
Data Type None
IADsFileServiceOperations::Put
Description Allows population of a single attribute by name
Provider Support WinNT
Syntax Put(Name As String, Property As String)
Data Type None
IADsFileServiceOperations::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
IADsFileServiceOperations::Resources
Description Establishes an interface to the collection object representing the open resources for the bound object
Provider Support WinNT
Syntax Resources()
Data Type IADsCollection
IADsFileServiceOperations::Schema
Description Returns the ADsPath to the schema class object for the bound object
Provider Support WinNT
Data Type String
Read-Only? Yes
IADsFileServiceOperations::Sessions
Description Establishes an interface to the collection object containing open user sessions for the bound object
Provider Support WinNT
Syntax Sessions()
Data Type IADsCollection
IADsFileServiceOperations::SetInfo
Description Writes the current properties held in the cache to the directory
Provider Support WinNT
Syntax SetInfo()
Data Type None
IADsFileServiceOperations::SetPassword
Description Sets a new password to be used for the service account
Provider Support WinNT
Syntax SetPassword(NewPassword As String)
Data Type None
IADsFileServiceOperations::Start
Description Starts a stopped service
Provider Support WinNT
Syntax Start()
Data Type None
IADsFileServiceOperations::Status
Description Returns the status of the currently bound service
Provider Support WinNT
Data Type Long
Read-Only? Yes
IADsFileServiceOperations::Status Flag 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
IADsFileServiceOperations::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