ConnectionManager Query Method (String, ConnectionManager , Int32, Int32)sP2P NAT Traversal and peer-to-peer networking API
sP2P NAT Traversal and peer-to-peer networking API
Queries remote peers by their application specific parameters

Namespace: sP2PLib
Assembly: sP2PLib (in sP2PLib.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax

Public Function Query ( _
	QueryText As String, _
	Optional Callback As PeerQueryCompleted = Nothing, _
	Optional page As Integer = 0, _
	Optional pageLimit As Integer = 64 _
) As Guid

Parameters

QueryText
Type: System String
NoSQL query command text
Callback (Optional)
Type: PeerQueryCompleted
Callback to execute on result arrival
page (Optional)
Type: System Int32
Pagination page
pageLimit (Optional)
Type: System Int32
Maximal number of peers to return per pagination page(request), default is 64, maximum 256

Return Value

Transaction ID of query request message. If something wrong Guid.empty will be returned
See Also