NET Logging Library
GetIdentity Method (MySqlTarget)



KellermanSoftware.NetLoggingLibrary.Targets Namespace > MySqlTarget Class : GetIdentity Method
Get the last identity inserted for the current connection
Syntax
Public Function GetIdentity( _
   ByVal tableName As String _
) As Object
Dim instance As MySqlTarget
Dim tableName As String
Dim value As Object
 
value = instance.GetIdentity(tableName)
public object GetIdentity( 
   string tableName
)
public:
Object^ GetIdentity( 
   String^ tableName
) 

Parameters

tableName

Return Value

Last identity inserted for the current connection
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MySqlTarget Class
MySqlTarget Members