# Class CIM_LaunchInContextService
extends CIM_Service

The LaunchInContext service provides the means for a client to manage information naming external services that are available to manage resources represented by instances in the containing CIM Namespace.

### 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_LaunchInContextService

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | The LaunchInContext service provides the means for a client to manage information naming external services that are available to manage resources represented by instances in the containing CIM Namespace.
UMLPackagePath | string | CIM::Core::LaunchInContext
Version | string | 2.27.0

## Class Properties

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
CreationClassName | string | CIM_Service
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
ElementName | string | CIM_ManagedElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
Generation | uint64 | CIM_ManagedElement
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ManagedElement
LoSID | string | CIM_Service
LoSOrgID | string | CIM_Service
Name | string | CIM_Service
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
PrimaryOwnerContact | string | CIM_Service
PrimaryOwnerName | string | CIM_Service
PrimaryStatus | uint16 | CIM_ManagedSystemElement
RequestedState | uint16 | CIM_EnabledLogicalElement
Started | boolean | CIM_Service
StartMode | string | CIM_Service
Status | string | CIM_ManagedSystemElement
SystemCreationClassName | string | CIM_Service
SystemName | string | CIM_Service
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
OperationalStatus | uint16[] | CIM_ManagedSystemElement
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Local Class Methods

#### CreateLaunchPoint (uint32)

#### Method Qualifiers (CreateLaunchPoint)

Name | Data Type | Value
--- | --- | ---
Description | string | This method is used to create a CIM_LaunchInContextSAP and related associations. When instantiated, a CIM_ServiceAffectsElement association with an ElementEffects entry = 5 shall be instantiated. Additionally, the required CIM_HostedServiceAccessPoint association shall be created to the CIM_System on which this service has a CIM_HostedService association. If the RestrictedToElement array is NULL, then the instantiated CIM_LaunchInContextSAP applies to all instances of the classes named in the ManagedClasses array. Otherwise, the new instance applies to only those instances of CIM_ManagedElement that are explicitly referenced in the RestrictedToElement array. 0'Completed with No Error' shall be returned on success. 1'Not Supported' shall be returned if this method is not supported. 2'Unknown or Unspecified Error' is not expected 3'Atomicity Error' shall be returned if all of the specified restrictions can not be applied atomically. In that case, The Launch Point shall not be created and none of the added restrictions shall be applied and the recommended fall back is to apply them one by one. 4'Invalid Parameter' shall be returned if LaunchInfo does not contain a valid CIM_LaunchInContextSAP instance specification or if any RestrictedToElement entry is not a well-formed association. 5'In Use' shall be returned if an instance of CIM_LaunchInContextSAP having the same keys is already instantiated.6'Restriction Error' shall be returned if ManagementIsRestricted is false and the RestrictedToElement list is not empty or NULL.
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, .., 32768..65535
Values | string | Completed with No Error, Not Supported, Unknown or Unspecified Error, Atomicity Error, Invalid Parameter, In Use, Restriction Error, DMTF Reserved, Vendor Specific

#### Method Parameters (CreateLaunchPoint)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
LaunchPointSpecification | string
Description | string | An instance specification for a CIM_LaunchInContextSAP. Note: The SystemCreationClassName and SystemName property specifications shall be ignored and the instantiated instance shall use the corresponding values from the System associated to this service by CIM_HostedService.
EmbeddedInstance | string | CIM_LaunchInContextSAP
In | boolean | true
Required | boolean | true
RestrictedToElement | CIM_ManagedElement[]
Description | string | If the specified launch point property, ManagementIsRestricted is false, then this property shall be NULL. If Null, then the new instance of CIM_LaunchInContextSAP shall apply to all resources belonging to the system associated with this service or shall apply to no resources, depending on the value of ManagementIsRestricted. If not NULL, this property contains a list of references to instances of CIM_ManagedElement to which the new launch point is restricted. Such instances do not have to be related to the system of this service. A well-formed reference that does not point to an instance of CIM_ManagedElement at the time of invocation shall be ignored. On successful completion, a CIM_ManagementSAP association shall be instantiated between the new launch point and each element referenced in the RestrictedToElement list.
In | boolean | true
LaunchPoint | REF CIM_LaunchInContextSAP
Description | string | References the created instance of CIM_LaunchInContextSAP.
Out | boolean | true

#### RemoveLaunchPoint (uint32)

#### Method Qualifiers (RemoveLaunchPoint)

Name | Data Type | Value
--- | --- | ---
Description | string | This method is used to remove launch point information and related associations, including restrictions. If the RestrictedToElement array is NULL, then the removal is unconditional and additionally removes any related CIM_ManagementSAP associations as well. Otherwise, the CIM_ManagementSAP associations are removed and the instance of CIM_LaunchInContextSAP is removed only if no CIM_ManagementSAP associations remain. When an instance of CIM_LaunchInContextSAP is removed, related CIM_ServiceAffectsElement and CIM_HostedServiceAccessPoint associations are also removed. 0'Completed with No Error' is returned on success. 1'Not Supported' shall be returned if this method is not supported. 2'Unknown or Unspecified Error' is not expected 3'Atomicity Error' shall be returned if all of the specified restrictions can not be removed atomically. In that case, The Launch Point shall not be deleted and none of the existing restrictions shall be removed and the recommended fall back is to apply them one by one. 4'Invalid Parameter' shall be returned if LaunchPoint does not reference avalid CIM_LaunchInContextSAP instance specification or if any RestrictedToElement entry is not a well-formed association. 5'In Use' is not expected. 6'Restriction Error' shall be returned if ManagementIsRestricted is false and the RestrictedToElement list is not empty or NULL.
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, .., 32768..65535
Values | string | Completed with No Error, Not Supported, Unknown or Unspecified Error, Atomicity Error, Invalid Parameter, In Use, Restriction Error, DMTF Reserved, Vendor Specific

#### Method Parameters (RemoveLaunchPoint)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
RestrictedToElement | CIM_ManagedElement[]
Description | string | Names specific instances of CIM_ManagedElement to which the related CIM_LaunchInContextSAP shall no longer apply. On successful completion, All CIM_ManagementSAP associations between the named LaunchPoint and each named CIM_ManagedElement instance shall be removed.
In | boolean | true
LaunchPoint | REF CIM_LaunchInContextSAP
Description | string | Names an instance of CIM_LaunchInContextSAP representing a launch point that no longer applies. On successful completions, if the RestrictedToElement array is null or empty, the referenced LaunchPoint instance shall be removed. Otherwise the referenced LaunchPoint instance shall not be removed unless the operation completes successfully and there are no remaining CIM_ManagementSAP associations to it.
In | boolean | true
Required | boolean | true

#### ApplyLaunchPoint (uint32)

#### Method Qualifiers (ApplyLaunchPoint)

Name | Data Type | Value
--- | --- | ---
Description | string | Apply the referenced CIM_LaunchInContextSAP to additional instances of CIM_ManagedElement. These actions shall be applied atomically. 0'Completed with No Error' shall be returned on success. 1'Not Supported' is returned if this method is not supported. 2'Unknown or Unspecified Error' is not expected 3'Atomicity Error' shall be returned if all of the specified restrictions can not be applied atomically. In that case, no changes shall be made. The recommended fall back is to apply them one by one. 4'Invalid Parameter' shall be returned if LaunchPoint does not reference avalid CIM_LaunchInContextSAP instance specification or if any RestrictedToElement entry is not a well-formed association. 5'In Use' is not expected. 6'Restriction Error' shall be returned if the ManagementIsRestricted of the referenced launch point is false.
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, .., 32768..65535
Values | string | Completed with No Error, Not Supported, Unknown or Unspecified Error, Atomicity Error, Invalid Parameter, In Use, Restriction Error, DMTF Reserved, Vendor Specific

#### Method Parameters (ApplyLaunchPoint)

Name | Type | Qualifiers
--- | --- | ---
Name | Data Type | Value
RestrictedToElement | CIM_ManagedElement[]
Description | string | Names specific instances of CIM_ManagedElement to which the related CIM_LaunchInContextSAP shall apply. On successful completion, A CIM_ManagementSAP association shall be instantiated for each referenced instance.
In | boolean | true
Required | boolean | true
LaunchPoint | REF CIM_LaunchInContextSAP
Description | string | Names an instance of CIM_LaunchInContextSAP representing a launch point.
In | boolean | true
Required | boolean | true

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
ChangeAffectedElementsAssignedSequence | uint32 | CIM_Service
RequestStateChange | uint32 | CIM_EnabledLogicalElement
StartService | uint32 | CIM_Service
StopService | uint32 | CIM_Service