Class WMITrigger
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
Trigger that triggers jobs based on WMI events
public sealed class WMITrigger : Trigger, ISupportJobVariables
- Inheritance
-
objectWMITrigger
- Implements
Properties
AuthenticationLevel
The authentication level to use
[ReservedForFutureUse]
public int AuthenticationLevel { get; set; }
Property Value
- int
Remarks
This value is not currently used; the trigger always uses System.Management.AuthenticationLevel.Call
Authority
The WMI authority to use
public string Authority { get; set; }
Property Value
- string
Remarks
Required.
ClassID
The Class ID for the object
[IgnoreDataMember]
public override ClassID ClassID { get; }
Property Value
ClassKeyName
The key name for the class.
public override string ClassKeyName { get; }
Property Value
- string
Remarks
This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.
Credentials
The credentials to use to execute the query
public CredentialProfile Credentials { get; set; }
Property Value
Remarks
If not specified, the query is executed in the main security context of the job.
ImpersonationLevel
The impersonation level to use
[ReservedForFutureUse]
public int ImpersonationLevel { get; set; }
Property Value
- int
Remarks
This value is not currently used; the trigger always uses System.Management.ImpersonationLevel.Impersonate
IsDependent
Indicates whether the object is a dependent of (owned by) another object
[IgnoreDataMember]
public override bool IsDependent { get; }
Property Value
- bool
Remarks
An independent object (IsDependent is false) is an object that can exist on its own without being part of another object. For example, Jobs, Job Groups, etc.
A dependent object (IsDependent is true) is a part of another object. For example, a JobStep cannot exist independently of a Job, so the JobStep is dependent.
Dependent objects cannot be directly fetched from the server: they are only fetched as part of the object they belong to. They also cannot be saved or deleted independently: they are automatically saved or deleted when the owning object is saved or deleted.
Locale
The WMI locale to use
public string Locale { get; set; }
Property Value
- string
Namespace
The WMI namespace to use
public string Namespace { get; set; }
Property Value
- string
PollingInterval
The interval at which to poll for events
[ReservedForFutureUse]
public TimeSpan PollingInterval { get; set; }
Property Value
- TimeSpan
Query
The WMI event query to execute
public string Query { get; set; }
Property Value
- string
QueryLanguage
The query language to use
[ReservedForFutureUse]
public string QueryLanguage { get; set; }
Property Value
- string
Methods
GetTriggerDescription()
protected override string GetTriggerDescription()
Returns
- string
WriteToConfigurationReport(IADTObjectConfigurationReportWriter)
Writes the object and any contained objects to a configuration report
public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)
Parameters
| Name | Type | Description |
|---|---|---|
reportBuilder |
IADTObjectConfigurationReportWriter | The report builder to write the object to. |
Inherited Members
- Trigger.Name
- Trigger.MinimumInterval
- Trigger.Enabled
- Trigger.UserInterfaceExtensionID
- Trigger.UserInterfaceExtensionData
- Trigger.DescriptionOverride
- Trigger.SelectionScript
- Trigger.JobVariables
- Trigger.GetInheritedVariables(bool)
- Trigger.IgnoreExclusionPeriods
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromController
- ADTObject.CustomProperties
- ADTObject.Description
- ADTObject.DescriptionTextType
- ADTObject.OID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.IsReadOnly
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.ClassName
- ObjectBase.GetDescriptionWithClassName()
- ObjectBase.GetDescription()
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)