Partager via


MSFT_SMFCPort class

Represents a Fibre Channel (FC) port.

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

Syntax

[dynamic, provider("WMIStorage"), AMENDMENT]
class MSFT_SMFCPort
{
  String  ObjectId;
  string  SystemName;
  string  DeviceID;
  uint16  OperationalStatus[];
  boolean FullDuplex;
  uint64  Speed;
  uint64  MaxSpeed;
  boolean AutoSense;
  string  PermanentAddress;
  string  NetworkAddresses[];
  uint16  PortNumber;
  uint16  LinkTechnology;
  uint16  UsageRestriction;
  uint16  PortType;
};

Members

The MSFT_SMFCPort class has these types of members:

Properties

The MSFT_SMFCPort class has these properties.

AutoSense

Data type: boolean

Access type: Read-only

True if the port is capable of automatically determining the speed or other communications characteristics of the attached network media; otherwise, False.

DeviceID

Data type: string

Access type: Read-only

The identifier of the physical device.

FullDuplex

Data type: boolean

Access type: Read-only

Whether the port is operating in full duplex mode.

LinkTechnology

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_NetworkPort.OtherLinkTechnology")

The type of link used by the port.

The possible values are.

Unknown (0)

Other (1)

Ethernet (2)

IB (3)

FC (4)

FDDI (5)

ATM (6)

Token Ring (7)

Frame Relay (8)

Infrared (9)

BlueTooth (10)

Wireless LAN (11)

MaxSpeed

Data type: uint64

Access type: Read-only

Qualifiers: Punit ("bit / second"), Units ("Bits per Second")

The maximum bandwidth of the port in bits per second.

NetworkAddresses

Data type: string array

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Network Adapter 802 Port|001.3")

The network addresses for the port.

ObjectId

Data type: String

Access type: Read-only

Qualifiers: Key

The ID of this class instance. This ID must be unique within the scope of the Windows Storage Management server that hosts the provider object.

OperationalStatus

Data type: uint16 array

Access type: Read-only

The current statuses of the element.

The possible values are.

Unknown (0)

Other (1)

OK (2)

Degraded (3)

Stressed (4)

Predictive Failure (5)

Error (6)

Non-Recoverable Error (7)

Starting (8)

Stopping (9)

Stopped (10)

In Service (11)

No Contact (12)

Lost Communication (13)

Aborted (14)

Dormant (15)

Supporting Entity in Error (16)

Completed (17)

Power Mode (18)

DMTF Reserved

19 32767

Vendor Reserved

32768 65535

PermanentAddress

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Network Adapter 802 Port|001.2")

The network address that is hardcoded into a port.

PortNumber

Data type: uint16

Access type: Read-only

The port number relative to either a logical module or a network element.

PortType

Data type: uint16

Access type: Read-only

The type of the port.

The possible values are.

Unknown (0)

Other (1)

Not Applicable (2)

DMTF Reserved

3 15999

Vendor Reserved

16000 65535

Speed

Data type: uint64

Access type: Read-only

Qualifiers: Punit ("bit / second"), Units ("Bits per Second")

The bandwidth of the port in bits per second.

SystemName

Data type: string

Access type: Read-only

The name of the port within the scope of the system.

UsageRestriction

Data type: uint16

Access type: Read-only

Indicates whether the logical port used as a front end or back end port.

The possible values are.

Unknown (0)

Front-end only (2)

Back-end only (3)

Not restricted (4)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

Windows Storage Management WMI Provider