Win32_DCOMApplicationSetting class
Applies to: desktop apps only
The Win32_DCOMApplicationSetting WMI class represents the settings of a DCOM application. It contains DCOM configuration options associated with the AppID key in the registry. These options are valid on the components logically grouped under the given application class.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
class Win32_DCOMApplicationSetting : Win32_COMSetting
{
string AppID;
uint32 AuthenticationLevel;
string Caption;
string CustomSurrogate;
string Description;
boolean EnableAtStorageActivation;
string LocalService;
string RemoteServerName;
string RunAsUser;
string ServiceParameters;
string SettingID;
boolean UseSurrogate;
};
Members
The Win32_DCOMApplicationSetting class has these types of members:
Methods
The Win32_DCOMApplicationSetting class has these methods.
| Method | Description |
|---|---|
| GetAccessSecurityDescriptor |
Gets the security descriptor that controls who is allowed to access a DCOM application. This method is available starting with Windows Vista.
|
| GetConfigurationSecurityDescriptor |
Gets the security descriptor that controls who is allowed to configure a DCOM application. This method is available starting with Windows Vista.
|
| GetLaunchSecurityDescriptor |
Gets the security descriptor that controls who is allowed to launch a DCOM application. This method is available starting with Windows Vista.
|
| SetAccessSecurityDescriptor |
Updates the access security descriptor of the DCOM application with a new security descriptor that is defined by an instance of the Win32_SecurityDescriptor class. This method is available starting with Windows Vista.
|
| SetConfigurationSecurityDescriptor |
Updates the configuration security descriptor of the DCOM application with a new security descriptor that is defined by an instance of the Win32_SecurityDescriptor class. This method is available starting with Windows Vista.
|
| SetLaunchSecurityDescriptor |
Updates the launch security descriptor of the DCOM application with a new security descriptor that is defined by an instance of the Win32_SecurityDescriptor class. This method is available starting with Windows Vista.
|
Properties
The Win32_DCOMApplicationSetting class has these properties.
- AppID
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Globally unique identifier (GUID) for this DCOM application.
- AuthenticationLevel
-
- Data type: uint32
- Access type: Read/write
Minimum client authentication level required by this COM server. If NULL, the default values are used.
- Caption
-
- Data type: string
- Access type: Read-only
Short description of the CIM_Setting object.
- CustomSurrogate
-
- Data type: string
- Access type: Read-only
Name of the custom surrogate in which the in-process DCOM application is activated. If this value is NULL and the UseSurrogate key is TRUE, then the system provides a surrogate process.
- Description
-
- Data type: string
- Access type: Read-only
Description of the CIM_Setting object.
- EnableAtStorageActivation
-
- Data type: boolean
- Access type: Read-only
DCOM application retrieves the saved state of the application or begins from the state in which the application is first initialized.
- LocalService
-
- Data type: string
- Access type: Read-only
Name for the services provided by the DCOM application.
- RemoteServerName
-
- Data type: string
- Access type: Read-only
Name of the remote server where the application is activated.
- RunAsUser
-
- Data type: string
- Access type: Read-only
Specific user account under which the application is to be run on activation.
- ServiceParameters
-
- Data type: string
- Access type: Read-only
Command-line parameters passed to the DCOM application. This is valid only if the application is written as a Windows-based service.
- SettingID
-
- Data type: string
- Access type: Read-only
Identifier by which the CIM_Setting object is known.
- UseSurrogate
-
- Data type: boolean
- Access type: Read-only
DCOM application can be activated as an out-of-process server by use of a surrogate executable file.
Remarks
The Win32_DCOMApplicationSetting class is derived from Win32_COMSetting.
Examples
For more information and script examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For more information and C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
- Operating System Classes
- Privilege Constants
- WMI Security Descriptor Objects
- Changing Access Security on Securable Objects
Send comments about this topic to Microsoft
Build date: 3/9/2012