XDASrv Reference Manual
handle Field
See Also  Send Feedback
NSPlugin Namespace > ServerInstanceInfo Class : handle Field




Generic server internal handle for the instance. This handle is used in some NSPlugin interface methods to identify the server instance. The server may implement client application dependent handling.

Syntax

Visual Basic (Declaration) 
<MarshalAsAttribute(UnmanagedType.Bool Or  _
    UnmanagedType.I1 Or  _
    UnmanagedType.U1 Or  _
    UnmanagedType.I2 Or  _
    UnmanagedType.U2 Or  _
    UnmanagedType.I4)>
Public handle As Integer
Visual Basic (Usage)Copy Code
Dim instance As ServerInstanceInfo
Dim value As Integer
 
value = instance.handle
 
instance.handle = value
C# 
[MarshalAsAttribute(UnmanagedType.Bool | 
    UnmanagedType.I1 | 
    UnmanagedType.U1 | 
    UnmanagedType.I2 | 
    UnmanagedType.U2 | 
    UnmanagedType.I4)]
public int handle
Managed Extensions for C++ 
[MarshalAsAttribute(UnmanagedType.Bool | 
    UnmanagedType.I1 | 
    UnmanagedType.U1 | 
    UnmanagedType.I2 | 
    UnmanagedType.U2 | 
    UnmanagedType.I4)]
public: int handle
C++/CLI 
[MarshalAsAttribute(UnmanagedType.Bool | 
    UnmanagedType.I1 | 
    UnmanagedType.U1 | 
    UnmanagedType.I2 | 
    UnmanagedType.U2 | 
    UnmanagedType.I4)]
public:
int handle

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.