Class CIM_PolicyActivationService
extends CIM_Service

CIM_PolicyActivationService represents a service to enable and disable the distributed policies. The CIM_PolicyActivationService provides the two extrinsic methods: ActivatePolicy() and DeactivatePolicy(). These methods will apply/remove the specified policies to/from an associated reference monitor. The associated reference monitor is represented by the CIM_ReferenceMonotor that is associated through CIM_TargetReferenceMonitor.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_Service
   |
   +--CIM_PolicyActivationService

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DescriptionstringCIM_PolicyActivationService represents a service to enable and disable the distributed policies. The CIM_PolicyActivationService provides the two extrinsic methods: ActivatePolicy() and DeactivatePolicy(). These methods will apply/remove the specified policies to/from an associated reference monitor. The associated reference monitor is represented by the CIM_ReferenceMonotor that is associated through CIM_TargetReferenceMonitor.
UMLPackagePathstringCIM::Policy
Versionstring2.28.0

Class Properties

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
CreationClassNamestringCIM_Service
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
Generationuint64CIM_ManagedElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
LoSIDstringCIM_Service
LoSOrgIDstringCIM_Service
NamestringCIM_Service
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryOwnerContactstringCIM_Service
PrimaryOwnerNamestringCIM_Service
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StartedbooleanCIM_Service
StartModestringCIM_Service
StatusstringCIM_ManagedSystemElement
SystemCreationClassNamestringCIM_Service
SystemNamestringCIM_Service
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Local Class Methods

ActivatePolicy (uint32)

Method Qualifiers (ActivatePolicy)

NameData TypeValue
DescriptionstringThe DeactivatePolicy() method is used to deactivate the collection of access policies specified with the TargetPolicies parameter. Upon the successful execution of this method, the following actions occur: * When the TargetPolicies parameter is Null, this method does not deactivate any access policies. * When the TargetPolicies parameter is not Null, this method will deactivate the access policies specified in the TargetPolicies parameter. The parameter specifies the target policies as an array of the policy identifiers in the scope of the associated CIM_AccessPolicyGroup. * As a side effect, this method will changes to false the Enabled property of the CIM_AccessControlPolicy instances corresponding to the deactivated policies. The return value of this methods will be 0 (if the execution is succeeded), or 1 (if failed).
ValueMapstring0, 1
ValuesstringOperation succeeded, Operation failed

Method Parameters (ActivatePolicy)

NameTypeQualifiers
NameData TypeValue
TargetPoliciesCIM_AccessControlPolicy[]
DescriptionstringThe ActivatePolicy() method is used to activate the collection of access policies specified with the TargetPolicies parameter. Upon the successful execution of this method, the following actions occur: * When the TargetPolicies parameter is Null, this method does not activate any access policies. * When the TargetPolicies parameter is not Null, this method will activate the access policies specified in the TargetPolicies parameter. The parameter specifies the target policies as an array of the policy identifiers in the scope of the associated CIM_AccessPolicyGroup. * As a side effect, this method will changes to true the Enabled property of the CIM_AccessControl Policy instances corresponding to the activated policies. The return value of this methods will be 0 (if the execution is succeeded), or 1 (if failed).

DeactivatePolicy (uint32)

Method Qualifiers (DeactivatePolicy)

NameData TypeValue
DescriptionstringThe DeactivatePolicy() method is used to deactivate the collection of access policies specified with the TargetPolicies parameter. Upon the successful execution of this method, the following actions occur: * When the TargetPolicies parameter is Null, this method does not deactivate any access policies. * When the TargetPolicies parameter is not Null, this method will deactivate the access policies specified in the TargetPolicies parameter. The parameter specifies the target policies as an array of the policy identifiers in the scope of the associated CIM_AccessPolicyGroup. * As a side effect, this method will changes to false the Enabled property of the CIM_AccessControlPolicy instances corresponding to the deactivated policies. The return value of this methods will be 0 (if the execution is succeeded), or 1 (if failed).
ValueMapstring0, 1
ValuesstringOperation succeeded, Operation failed

Method Parameters (DeactivatePolicy)

NameTypeQualifiers
NameData TypeValue
TargetPoliciesCIM_AccessControlPolicy[]
DescriptionstringThe DeactivatePolicy() method is used to deactivate the collection of access policies specified with the TargetPolicies parameter. Upon the successful execution of this method, the following actions occur: * When the TargetPolicies parameter is Null, this method does not deactivate any access policies. * When the TargetPolicies parameter is not Null, this method will deactivate the access policies specified in the TargetPolicies parameter. The parameter specifies the target policies as an array of the policy identifiers in the scope of the associated CIM_AccessPolicyGroup. * As a side effect, this method will changes to false the Enabled property of the CIM_AccessControlPolicy instances corresponding to the deactivated policies. The return value of this methods will be 0 (if the execution is succeeded), or 1 (if failed).

Inherited Class Methods

NameReturn TypeClass Origin
ChangeAffectedElementsAssignedSequenceuint32CIM_Service
RequestStateChangeuint32CIM_EnabledLogicalElement
StartServiceuint32CIM_Service
StopServiceuint32CIM_Service