QueryTemplate Class

 

Represents a query template metadata object.

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

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.CepObject
    Microsoft.ComplexEventProcessing.ApplicationObject
      Microsoft.ComplexEventProcessing.QueryTemplate

Syntax

public sealed class QueryTemplate : ApplicationObject
public ref class QueryTemplate sealed : ApplicationObject
[<Sealed>]
type QueryTemplate = 
    class
        inherit ApplicationObject
    end
Public NotInheritable Class QueryTemplate
    Inherits ApplicationObject

Properties

Name Description
System_CAPS_pubproperty Application

Gets the hosting application.(Inherited from ApplicationObject.)

System_CAPS_pubproperty Definition

The query template definition in the form of XML.

System_CAPS_pubproperty Description

Gets a description for this query template.

System_CAPS_pubproperty Name

Gets the name of this object.(Inherited from CepObject.)

System_CAPS_pubproperty QueryTemplateInputs

Gets the collection of inputs associated with this query template.

System_CAPS_pubproperty ShortName

Gets the short name of the CEP object. (Inherited from CepObject.)

Methods

Name Description
System_CAPS_pubmethod Delete()

Deletes the query template from metadata.(Overrides ApplicationObject.Delete().)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

Query templates define the desired query logic of a CEP application. A query template is usually defined through LINQ on top of a CepStream object. For more information, see Using StreamInsight LINQ.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ComplexEventProcessing Namespace

Return to top