RemoteProvider.Deploy<TElement> Method (IRemoteObserver<TElement>, String)
Deploys a remote observer.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Deploy(Of TElement) ( _
definition As IRemoteObserver(Of TElement), _
id As String _
) As IRemoteObserver(Of TElement)
'Usage
Dim definition As IRemoteObserver(Of TElement)
Dim id As String
Dim returnValue As IRemoteObserver(Of TElement)
returnValue = definition.Deploy(id)
public static IRemoteObserver<TElement> Deploy<TElement>(
this IRemoteObserver<TElement> definition,
string id
)
[ExtensionAttribute]
public:
generic<typename TElement>
static IRemoteObserver<TElement>^ Deploy(
IRemoteObserver<TElement>^ definition,
String^ id
)
static member Deploy :
definition:IRemoteObserver<'TElement> *
id:string -> IRemoteObserver<'TElement>
JScript does not support generic types and methods.
Type Parameters
- TElement
The element type.
Parameters
- definition
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteObserver<TElement>
The remote observer.
- id
Type: System.String
The observer identifier.
Return Value
Type: Microsoft.ComplexEventProcessing.Linq.IRemoteObserver<TElement>
The remote observer.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IRemoteObserver<TElement>. 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).