Application.CreateQueryTemplate<T> 方法 (String, String, CepStream<T>)

 

從 LINQ 運算式建立新的查詢範本。

命名空間:   Microsoft.ComplexEventProcessing
組件:  Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)

語法

public QueryTemplate CreateQueryTemplate<T>(
    string queryTemplateName,
    string description,
    CepStream<T> streamDefinition
)
public:
generic<typename T>
QueryTemplate^ CreateQueryTemplate(
    String^ queryTemplateName,
    String^ description,
    CepStream<T>^ streamDefinition
)
member CreateQueryTemplate<'T> : 
        queryTemplateName:string *
        description:string *
        streamDefinition:CepStream<'T> -> QueryTemplate
Public Function CreateQueryTemplate(Of T) (
    queryTemplateName As String,
    description As String,
    streamDefinition As CepStream(Of T)
) As QueryTemplate

參數

  • queryTemplateName
    中繼資料中查詢範本的名稱。
  • description
    查詢範本的描述。
  • streamDefinition
    查詢範本定義。

傳回值

Type: Microsoft.ComplexEventProcessing.QueryTemplate

要建立的新查詢範本物件。

類型參數

  • T
    類型。

請參閱

CreateQueryTemplate 超載
Application 類別
Microsoft.ComplexEventProcessing 命名空間

回到頁首