RemoteProvider.DefineStreamableSink<T1, T2, T3, T4, T5, T6, T7, T8, TPayload> Method (IRemoteProvider, Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink<TPayload>>>)
Defines a remote function that returns a temporal stream sink.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function DefineStreamableSink(Of T1, T2, T3, T4, T5, T6, T7, T8, TPayload) ( _
provider As IRemoteProvider, _
definition As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink(Of TPayload))) _
) As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, IRemoteStreamableSink(Of TPayload))
'Usage
Dim provider As IRemoteProvider
Dim definition As Expression(Of Func(Of T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink(Of TPayload)))
Dim returnValue As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, IRemoteStreamableSink(Of TPayload))
returnValue = provider.DefineStreamableSink(definition)
public static Func<T1, T2, T3, T4, T5, T6, T7, T8, IRemoteStreamableSink<TPayload>> DefineStreamableSink<T1, T2, T3, T4, T5, T6, T7, T8, TPayload>(
this IRemoteProvider provider,
Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink<TPayload>>> definition
)
[ExtensionAttribute]
public:
generic<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename TPayload>
static Func<T1, T2, T3, T4, T5, T6, T7, T8, IRemoteStreamableSink<TPayload>^>^ DefineStreamableSink(
IRemoteProvider^ provider,
Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink<TPayload>^>^>^ definition
)
static member DefineStreamableSink :
provider:IRemoteProvider *
definition:Expression<Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, IStreamableSink<'TPayload>>> -> Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, IRemoteStreamableSink<'TPayload>>
JScript does not support generic types and methods.
Type Parameters
- T1
The first parameter type.
- T2
The second parameter type.
- T3
The third parameter type.
- T4
The fourth parameter type.
- T5
The fifth parameter type.
- T6
The sixth parameter type.
- T7
The seventh parameter type.
- T8
The eighth parameter type.
- TPayload
The payload type.
Parameters
- provider
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteProvider
The remote LINQ provider.
- definition
Type: System.Linq.Expressions.Expression<Func<T1, T2, T3, T4, T5, T6, T7, T8, IStreamableSink<TPayload>>>
The function definition.
Return Value
Type: System.Func<T1, T2, T3, T4, T5, T6, T7, T8, IRemoteStreamableSink<TPayload>>
The remote function that returns a temporal stream sink.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IRemoteProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.111) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.111).