HighTechTalks DotNet Forums  

HbaScsiId.OsDeviceName is null always

Dotnet Framework (WMI) microsoft.public.dotnet.framework.wmi


Discuss HbaScsiId.OsDeviceName is null always in the Dotnet Framework (WMI) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
jas
 
Posts: n/a

Default HbaScsiId.OsDeviceName is null always - 08-14-2007 , 03:49 PM








Hi

I am using WMI HBA API classes to identify target node and port WWNs. I am
suing HbaFcpInfo::GetFcpTargetMapping method This retreives an array of
HbaFcpScriEntry objects and this object has an instance of HbaScsiId
embedded in it. I always get null as HbaScsiId.OsDeviceName filed.

I am using wmi classes genreated using mgmtclassgen utility.

Any help will be appreciated.

Regards

jas



Reply With Quote
  #2  
Old   
pgarvan
 
Posts: n/a

Default RE: HbaScsiId.OsDeviceName is null always - 11-01-2007 , 07:13 AM






Jas,

Yes, you're not experiencing an error. The OsDeviceName is always null when
getting this info via WBEM. It would be nice to have the OsDeviceName filled
in, but it does not. If you would like to find out what it is, you can use
the FCInfo tool, but even that tool is forced to go ask the operating system
rather than getting it via the CIM model.

Regards,

Patrick

"jas" wrote:

Quote:

Hi

I am using WMI HBA API classes to identify target node and port WWNs. I am
suing HbaFcpInfo::GetFcpTargetMapping method This retreives an array of
HbaFcpScriEntry objects and this object has an instance of HbaScsiId
embedded in it. I always get null as HbaScsiId.OsDeviceName filed.

I am using wmi classes genreated using mgmtclassgen utility.

Any help will be appreciated.

Regards

jas




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.