Server.Connect Method (EndpointAddress, Binding)

Prepares a connection to a running instance of a CEP server through an endpoint with a specific binding.

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public static Server Connect(
    EndpointAddress endpointAddress,
    Binding binding
)

Parameters

Return Value

Type: Microsoft.ComplexEventProcessing.Server
A new CEP server instance that represents the remote server.

Remarks

Because the protocol between a StreamInsight client and server is stateless, every method that interfaces the server establishes a connection. Server.Connect() prepares the connection, but does not actually interact with the server.

See Also

Reference

Server Class

Connect Overload

Microsoft.ComplexEventProcessing Namespace