Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Packager Class / SendToServerAsync Method / SendToServerAsync(SessionCriteria,Boolean,String,Int32,Boolean,String,String) Method
The set of match rules to apply to sessions to determine what to send.
True to have every included session marked as read upon successful completion.
The full DNS name of the server where the service is located.
An optional port number override for the server.
Indicates if the connection should be encrypted with Ssl.
The virtual directory on the host for the server.
The specific repository on the server for a private server.

In This Topic
    SendToServerAsync(SessionCriteria,Boolean,String,Int32,Boolean,String,String) Method
    In This Topic
    Asynchronously send sessions to a private Loupe Server located at the specified web address
    Syntax
    'Declaration
     
    
    Public Overloads Sub SendToServerAsync( _
       ByVal sessions As SessionCriteria, _
       ByVal markAsRead As Boolean, _
       ByVal server As String, _
       ByVal port As Integer, _
       ByVal useSsl As Boolean, _
       ByVal applicationBaseDirectory As String, _
       Optional ByVal repository As String _
    ) 

    Parameters

    sessions
    The set of match rules to apply to sessions to determine what to send.
    markAsRead
    True to have every included session marked as read upon successful completion.
    server
    The full DNS name of the server where the service is located.
    port
    An optional port number override for the server.
    useSsl
    Indicates if the connection should be encrypted with Ssl.
    applicationBaseDirectory
    The virtual directory on the host for the server.
    repository
    The specific repository on the server for a private server.
    Remarks
    The EndSend event will be raised when the send operation completes. Because sessions are sent one by one, they will be individually marked as read once sent.
    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