MSFT_NetServiceFilter class

Filters traffic based on which Windows service it is sent or received by.

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

Syntax

class MSFT_NetServiceFilter : CIM_FilterEntryBase
{
  string   ServiceName;
  string   Name;
  string   SystemCreationClassName;
  string   SystemName;
  string   CreationClassName;
  boolean  IsNegated;
  datetime InstallDate;
  uint16   OperationalStatus[];
  string   StatusDescriptions[];
  string   Status;
  uint16   HealthState;
  uint16   CommunicationStatus;
  uint16   DetailedStatus;
  uint16   OperatingStatus;
  uint16   PrimaryStatus;
  string   InstanceID;
  string   Caption;
  string   Description;
  string   ElementName;
};

Members

The MSFT_NetServiceFilter class has these types of members:

Properties

The MSFT_NetServiceFilter class has these properties.

Caption

Data type: string

Access type: Read-only

Used in CimInstance.ToString(). A short string for describing this instance when debugging.

CommunicationStatus

Data type: uint16

Access type: Read-only

This field is ignored.

CreationClassName

Data type: string

Access type: Read-only

Reserved for internal use by the WMI provider only.

Description

Data type: string

Access type: Read-only

This field is ignored.

DetailedStatus

Data type: uint16

Access type: Read-only

This field is ignored.

ElementName

Data type: string

Access type: Read-only

This field is ignored.

HealthState

Data type: uint16

Access type: Read-only

This field is ignored.

InstallDate

Data type: datetime

Access type: Read-only

This field is ignored.

InstanceID

Data type: string

Access type: Read-only

A string that uniquely identifies this instance within the PolicyStore.

IsNegated

Data type: boolean

Access type: Read-only

This field is ignored.

Name

Data type: string

Access type: Read-only

Reserved for internal use by the WMI provider only.

OperatingStatus

Data type: uint16

Access type: Read-only

This field is ignored.

OperationalStatus

Data type: uint16 array

Access type: Read-only

This field is ignored.

PrimaryStatus

Data type: uint16

Access type: Read-only

This field is ignored.

ServiceName

Data type: string

Access type: Read-only

The short name of the service to be filtered.

Status

Data type: string

Access type: Read-only

This field is ignored.

StatusDescriptions

Data type: string array

Access type: Read-only

This field is ignored.

SystemCreationClassName

Data type: string

Access type: Read-only

Reserved for internal use by the WMI provider only.

SystemName

Data type: string

Access type: Read-only

Reserved for internal use by the WMI provider only.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
WFasCim.mof
DLL
WFasCim.dll