次の方法で共有


MSFT_OptionalCompanion class

Represents an optional companion for a server component.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("deploymentprovider")]
class MSFT_OptionalCompanion
{
  string  CompanionComponentName;
  uint8   CompanionType;
  Boolean PrerequisiteEnabled;
};

Members

The MSFT_OptionalCompanion class has these types of members:

Properties

The MSFT_OptionalCompanion class has these properties.

CompanionComponentName

Data type: string

Access type: Read-only

Gets the name of the component.

CompanionType

Data type: uint8

Access type: Read-only

Gets the type of the companion.

This property contains the following value:

RSAT (0)

PrerequisiteEnabled

Data type: Boolean

Access type: Read-only

Indicates whether the prerequisites for the companion are enabled. True if the prerequisites are enabled; otherwise false.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
ServerManager.DeploymentProvider.mof
DLL
ServerManager.DeploymentProvider.dll

See also

ServerManager Deploymentprovider Provider Classes