XDASrv Reference Manual
GetItemInfo Method
See Also  Send Feedback
NSPlugin Namespace > GenericServer Class : GetItemInfo Method




itemID
Fully qualifid name of the item to be queried.
itemInfo
Item definition and status information

Generic server callback method.

Get information about the specified item from the generic server cache. Can alos be used to check if the item already exists in the generic server.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetItemInfo( _
   ByVal itemID As String, _
   ByRef itemInfo As CacheItemInfo _
) As Integer
Visual Basic (Usage)Copy Code
Dim itemID As String
Dim itemInfo As CacheItemInfo
Dim value As Integer
 
value = GenericServer.GetItemInfo(itemID, itemInfo)
C# 
public static int GetItemInfo( 
   string itemID,
   out CacheItemInfo itemInfo
)
Managed Extensions for C++ 
public: static int GetItemInfo( 
   string* itemID,
   [PARAMFLAG::Out] CacheItemInfo* itemInfo
) 
C++/CLI 
public:
static int GetItemInfo( 
   String^ itemID,
   [Out] CacheItemInfo^ itemInfo
) 

Parameters

itemID
Fully qualifid name of the item to be queried.
itemInfo
Item definition and status information

Return Value

Always returns S_OK

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2002-2011 Advosol Inc. All Rights Reserved.