Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MSFT_NetPrefixPolicy class

Represents the prefix policy for the Microsoft TCP/IP WMI v2 provider.

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

Syntax

[Dynamic, Provider("NetTCPIP")]class MSFT_NetPrefixPolicy : CIM_ManagedElement
{
  string Prefix;
  uint32 Precedence;
  uint32 Label;
  uint8  Store;
};

Members

The MSFT_NetPrefixPolicy class has these types of members:

Methods

The MSFT_NetPrefixPolicy class has these methods.

MethodDescription
Create

Creates a prefix policy.

 

Properties

The MSFT_NetPrefixPolicy class has these properties.

Label
Data type: uint32
Access type: Read/write

A label value that allows for policies that prefer a particular source address prefix for use with a destination address prefix.

Precedence
Data type: uint32
Access type: Read/write

The precedence value in the policy table, which is used for sorting destination addresses.

Prefix
Data type: string
Access type: Read-only
Qualifiers: Key

The prefix of the policy.

Store
Data type: uint8
Access type: Read-only
Qualifiers: Key

Whether the change is persistent, or only lasts until the next time that the computer boots.

ValueMeaning
Active
0

The change only lasts until next time that the computer boots.

Persistent
1

The change is persistent.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Root\StandardCimv2

MOF

NetTCPIP.mof

DLL

NetTCPIP.dll

 

 

Community Additions

Show:
© 2015 Microsoft