Share via


MSFT_ServerManagerServerComponent class

Represents a server component on a managed node.

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

Syntax

[dynamic, provider("deploymentprovider")]
class MSFT_ServerManagerServerComponent
{
  String                 UniqueName;
  String                 DisplayName;
  String                 Description;
  sint32                 NumericId;
  sint32                 MajorVersion;
  sint32                 MinorVersion;
  uint8                  Installed;
  uint8                  FeatureType;
  String                 ParentName;
  String                 SubFeatures[];
  String                 NonAncestorDependencies[];
  String                 MutualExclusions[];
  Boolean                InstallWithParentByDefault;
  String                 Deploys[];
  object                 Descriptor;
  uint8                  ConfigurationStatus;
  String                 EventQuery;
  String                 BestPracticeModels[];
  MSFT_ServiceToMonitor  SystemServices[];
  String                 PostInstallDescription;
  String                 PostUninstallDescription;
  MSFT_OptionalCompanion OptionalCompanions[];
};

Members

The MSFT_ServerManagerServerComponent class has these types of members:

Properties

The MSFT_ServerManagerServerComponent class has these properties.

BestPracticeModels

Data type: String array

Access type: Read-only

TBD

ConfigurationStatus

Data type: uint8

Access type: Read-only

Gets the status of the server component configuration.

ConfigurationFailed (0)

NotConfigured (1)

Configured (2)

NotApplicable (3)

Unknown (4)

Deploys

Data type: String array

Access type: Read-only

TBD

Description

Data type: String

Access type: Read-only

Gets the description of the server component.

Descriptor

Data type: object

Access type: Read-only

Qualifiers: EmbeddedObject

Gets the name of the MSFT_ServerManagerServerComponentDescriptor object that contains the identity of the server component.

DisplayName

Data type: String

Access type: Read-only

Gets the display name of the server component.

EventQuery

Data type: String

Access type: Read-only

TBD

FeatureType

Data type: uint8

Access type: Read-only

Gets the feature type of the server component.

Role (0)

RoleService (1)

Feature (2)

Installed

Data type: uint8

Access type: Read-only

Gets the status of the server component installation.

Available (0)

Installed (1)

UninstallPending (2)

InstallPending (3)

NotPresent (4)

Removed (5)

Unknown (6)

InstallWithParentByDefault

Data type: Boolean

Access type: Read-only

Indicates whether this server component is installed by default when a parent server component is installed. True to install this server component with a parent server component by default; otherwise false.

MajorVersion

Data type: sint32

Access type: Read-only

Gets the major version number of the server component.

MinorVersion

Data type: sint32

Access type: Read-only

Gets the minor version number of the server component.

MutualExclusions

Data type: String array

Access type: Read-only

TBD

NonAncestorDependencies

Data type: String array

Access type: Read-only

An array that contains the names of the dependencies of the server component that aren't ancestors of the server component.

NumericId

Data type: sint32

Access type: Read-only

Gets the ID of the server component.

OptionalCompanions

Data type: MSFT_OptionalCompanion array

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_OptionalCompanion")

Gets an array that contains the names of the child MSFT_OptionalCompanion objects that are managed by the server component.

ParentName

Data type: String

Access type: Read-only

Gets the name of the parent server component.

PostInstallDescription

Data type: String

Access type: Read-only

TBD

PostUninstallDescription

Data type: String

Access type: Read-only

TBD

SubFeatures

Data type: String array

Access type: Read-only

An array that contains the names of features managed by the server component.

SystemServices

Data type: MSFT_ServiceToMonitor array

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_ServiceToMonitor")

Gets an array that contains the names of the MSFT_ServiceToMonitor objects that represent the system services that are managed by the server component.

UniqueName

Data type: String

Access type: Read-only

Gets the unique name of the server component.

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