This topic has not yet been rated - Rate this topic

CepStream.Select<TInput, TOutput> Method (ICepEnumerable<TInput>, Expression<Func<TInput, TOutput>>)

SQL Server 2008 R2

Projects each event of an enumerable input stream into a new event.

Namespace:  Microsoft.ComplexEventProcessing.Linq
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
public static ICepEnumerable<TOutput> Select<TInput, TOutput>(
	this ICepEnumerable<TInput> source,
	Expression<Func<TInput, TOutput>> selector
)

Type Parameters

TInput

Type of the source.

TOutput

Type of the result.

Parameters

source
Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TInput>
The enumerable source to be projected. This parameter cannot be null.
selector
Type: System.Linq.Expressions.Expression<Func<TInput, TOutput>>
The projection selector. This parameter cannot be null.

Return Value

Type: Microsoft.ComplexEventProcessing.Linq.ICepEnumerable<TOutput>
The enumerable stream of projected results.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICepEnumerable<TInput>. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936.aspx or http://msdn.microsoft.com/en-us/library/bb383977.aspx.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.