MS_SM_PortInformationMethods, ROOT\WMI

Class | Methods (9) | Properties (2) | Qualifiers (6) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

This class exposes port information operations that can be determined from the adapter. There should be one instance of this class for each adapter

MS_SM_PortInformationMethods methods

MS_SM_PortInformationMethods has 9 methods (9 Local)

NameOriginReturn
SM_GetAdapterPortAttributesMS_SM_PortInformationMethods
SM_GetDiscoveredPortAttributesMS_SM_PortInformationMethods
SM_GetFCPhyAttributesMS_SM_PortInformationMethods
SM_GetPhyStatisticsMS_SM_PortInformationMethods
SM_GetPortAttributesByWWNMS_SM_PortInformationMethods
SM_GetPortTypeMS_SM_PortInformationMethods
SM_GetProtocolStatisticsMS_SM_PortInformationMethods
SM_GetSASPhyAttributesMS_SM_PortInformationMethods
SM_RefreshInformationMS_SM_PortInformationMethods

MS_SM_PortInformationMethods properties

MS_SM_PortInformationMethods has 2 properties (2 Local)

NameOriginCIMType
ActiveMS_SM_PortInformationMethods11 [boolean]
key
InstanceName
MS_SM_PortInformationMethods8 [string]

Detailed description of MS_SM_PortInformationMethods methods

Local methods (9) of MS_SM_PortInformationMethods class

SM_GetAdapterPortAttributes method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
PortSpecificAttributesMaxSizeuint321-{'cpp_quote':'#define SM_PORT_SPECIFIC_ATTRIBUTES_MAXSIZE max(sizeof(MS_SMHBA_FC_Port), sizeof(MS_SMHBA_SAS_Port))','in':True}
HBAStatusuint322-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PortAttributesobject:MS_SMHBA_PORTATTRIBUTES3-{'HBAType':'MS_SMHBA_PORTATTRIBUTES','out':True}
ImplementedTrue
WmiMethodId2
SM_GetAdapterPortAttributes method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetDiscoveredPortAttributes method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
DiscoveredPortIndexuint321-{'in':True}
PortSpecificAttributesMaxSizeuint322-{'in':True}
HBAStatusuint323-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PortAttributesobject:MS_SMHBA_PORTATTRIBUTES4-{'HBAType':'MS_SMHBA_PORTATTRIBUTES','out':True}
ImplementedTrue
WmiMethodId3
SM_GetDiscoveredPortAttributes method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetFCPhyAttributes method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
PhyIndexuint321-{'in':True}
HBAStatusuint322-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PhyTypeobject:MS_SMHBA_FC_PHY3-{'HBAType':'MS_SMHBA_FC_PHY','out':True}
ImplementedTrue
WmiMethodId7
SM_GetFCPhyAttributes method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetPhyStatistics method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
PhyIndexuint321-{'in':True}
InNumOfPhyCountersuint322-{'in':True}
HBAStatusuint323-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
TotalNumOfPhyCountersuint324-{'out':True}
OutNumOfPhyCountersuint325-{'out':True}
PhyCountersint646-{'out':True,'WmiSizeIs':'OutNumOfPhyCounters'}
Description'Typical counters SMHBA_SASPHYSTATISTICS (9 counters) or MSFC_HBAPortStatistics (15 counters)'
ImplementedTrue
WmiMethodId6
SM_GetPhyStatistics method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetPortAttributesByWWN method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortWWNuint80-{'HBAType':'HBA_WWN','in':True,'MAX':8}
DomainPortWWNuint81-{'HBAType':'HBA_WWN','in':True,'MAX':8}
PortSpecificAttributesMaxSizeuint322-{'in':True}
HBAStatusuint323-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PortAttributesobject:MS_SMHBA_PORTATTRIBUTES4-{'HBAType':'MS_SMHBA_PORTATTRIBUTES','out':True}
ImplementedTrue
WmiMethodId4
SM_GetPortAttributesByWWN method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetPortType method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
HBAStatusuint321-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PortTypeuint322-{'HBAType':'HBA_PORTTYPE','out':True,'ValueMap':['1', '2', '3', '5', '6', '7', '8', '9', '10', '20', '21', '30', '31', '32'],'Values':['Unknown', 'Other', 'Not present', 'Fabric', 'Public Loop', 'HBA_PORTTYPE_FLPORT', 'Fabric Port', 'Fabric expansion port', 'Generic Fabric Port', 'Private Loop', 'Point to Point', 'SAS (SSP or STP)', 'SATA (Direct Attach)', 'SAS Expander']}
ImplementedTrue
WmiMethodId1
SM_GetPortType method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetProtocolStatistics method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
ProtocolTypeuint321-{'in':True}
HBAStatusuint322-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
ProtocolStatisticsobject:MS_SMHBA_PROTOCOLSTATISTICS3-{'HBAType':'MS_SMHBA_PROTOCOLSTATISTICS','out':True}
ImplementedTrue
WmiMethodId5
SM_GetProtocolStatistics method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_GetSASPhyAttributes method
Return
Parameters
NameCIMTypeIDINOUTQualifiers
PortIndexuint320-{'in':True}
PhyIndexuint321-{'in':True}
HBAStatusuint322-{'Description':'HBA Status result for the query operation','HBAType':'HBA_STATUS','out':True,'ValueMap':['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33'],'Values':['Operation was successful ', 'Error ', 'Function not supported.', 'invalid handle ', 'Bad argument ', 'WWN not recognized ', 'Index not recognized ', 'Larger buffer required ', 'Information has changed since the last call to HBA_RefreshInformation ', 'SCSI Check Condition reported', 'Adapter busy or reserved, retry may be effective', 'Request timed out, retry may be effective', 'Referenced HBA has been removed or deactivated', 'The requested ELS was rejected by the local adapter', 'The specified LUN is not provided by the specified adapter', 'An incompatibility has been detected among the library and driver modules', 'Multiple adapters have a matching WWN', 'A persistent binding request included a bad local SCSI bus number', 'A persistent binding request included a bad local SCSI target number', 'A persistent binding request included a bad local SCSI logical unit number', 'A persistent binding set request included a local SCSI ID that was already bound', 'A persistent binding request included a bad or unlocatable FCP Target FCID', 'A persistent binding request included a bad FCP Target Node WWN', 'A persistent binding request included a bad FCP Target Port WWN', 'A persistent binding request included an FCP Logical Unit Number not defined by the identified Target', 'A persistent binding request included an undefined or otherwise in accessible Logical Unit Unique Identifier', 'A persistent binding remove request included a binding which did not match a binding established by the specified port', 'A SCSI command was requested to an Nx_Port that was not a SCSI Target Port', 'A request was made concerning an unsupported FC-4 protocol', 'A request was made to enable unimplemented capabilities for a port', 'SCSI target is busy', 'A call was made to HBA_FreeLibrary when no library was loaded', 'A call was made to HBA_LoadLibrary when a library was already loaded', 'FCID passed into HBA_SendRNIDV2 violates access control rules']}
PhyTypeobject:MS_SMHBA_SAS_PHY3-{'HBAType':'MS_SMHBA_SAS_PHY','out':True}
ImplementedTrue
WmiMethodId8
SM_GetSASPhyAttributes method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace
SM_RefreshInformation method
Return
ImplementedTrue
WmiMethodId10
SM_RefreshInformation method is in 1 class (MS_SM_PortInformationMethods) of ROOT\WMI and in 1 namespace

Detailed description of MS_SM_PortInformationMethods properties

Local properties (2) of MS_SM_PortInformationMethods class

Active property
CIMTYPE'boolean'
Active property is in 378 classes of ROOT\WMI and in 8 namespaces
InstanceName property
CIMTYPE'string'
keyTrue
InstanceName property is in 414 classes of ROOT\WMI and in 9 namespaces

MS_SM_PortInformationMethods Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'This class exposes port information operations that can be determined from the adapter. There should be one instance of this class for each adapter'
dynamicTrue
guid'{5b6a8b86-708d-4ec6-82a6-39adcf6f6433}'
LOCALE1033
provider'wmiprov'
WMITrue

MS_SM_PortInformationMethods System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\WMI:MS_SM_PortInformationMethods'___SYSTEM8
__NAMESPACE'ROOT\WMI'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT2___SYSTEM3
__RELPATH'MS_SM_PortInformationMethods'___SYSTEM8
__DYNASTY'MS_SM_PortInformationMethods'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'MS_SM_PortInformationMethods'___SYSTEM8
__GENUS1___SYSTEM3
comments powered by Disqus
WUtils.com