Partager via


MSFT_ServerFeature class

Represents a server feature on the managed node.

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

Syntax

[ClassVersion("1.0.0"), dynamic, provider("mgmtprovider"), AMENDMENT]
class MSFT_ServerFeature
{
  sint32 Id;
  string ParentName;
  string UniqueName;
  string DisplayName;
  uint8  State;
  uint8  Type;
  uint8  ConfigurationStatus;
  string EventQuery;
  string Services[];
  string BpaModels[];
};

Members

The MSFT_ServerFeature class has these types of members:

Properties

The MSFT_ServerFeature class has these properties.

BpaModels

Data type: string array

Access type: Read-only

The ID of the BPA models of the feature.

ConfigurationStatus

Data type: uint8

Access type: Read-only

The configuration status of the feature.

Configuration Failed (0)

Not Configured (1)

Configured (2)

Not Applicable (3)

DisplayName

Data type: string

Access type: Read-only

The localized name of the feature.

EventQuery

Data type: string

Access type: Read-only

The file name of the event query for the feature.

Id

Data type: sint32

Access type: Read-only

The ID of the feature.

ParentName

Data type: string

Access type: Read-only

The feature's parent name.

Services

Data type: string array

Access type: Read-only

The name of the services for the feature.

State

Data type: uint8

Access type: Read-only

The install state of the feature.

Available (0)

Installed (1)

Uninstall Pending (2)

Install Pending (3)

Not Present (4)

Removed (5)

Unknown (6)

Type

Data type: uint8

Access type: Read-only

The type of the feature.

Role (0)

Role Service (1)

Feature (2)

UniqueName

Data type: string

Access type: Read-only

The name of the feature.

Requirements

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