Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Server.Connect Method (EndpointAddress)

Prepares a connection to a running instance of a CEP server through an endpoint. WsHttpBinding is used as the default binding.

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

public static Server Connect(
	EndpointAddress endpointAddress


Type: System.ServiceModel.EndpointAddress
The endpoint of the server to connect to.

Return Value

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

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.

Server server = Server.Connect(new System.ServiceModel.EndpointAddress(@"http://localhost/StreamInsight/MyInstance"));
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft