Editar

Compartilhar via


SqlWorkflowInstanceStoreBehavior.Promote Method

Definition

Promotes properties that can be used in queries. The promoted properties are the properties that you can use in queries to retrieve instances. These property can be of simple type (int32, string, bool and so on), which is represented by a variant or binary.

public:
 void Promote(System::String ^ name, System::Collections::Generic::IEnumerable<System::Xml::Linq::XName ^> ^ promoteAsSqlVariant, System::Collections::Generic::IEnumerable<System::Xml::Linq::XName ^> ^ promoteAsBinary);
public void Promote (string name, System.Collections.Generic.IEnumerable<System.Xml.Linq.XName> promoteAsSqlVariant, System.Collections.Generic.IEnumerable<System.Xml.Linq.XName> promoteAsBinary);
member this.Promote : string * seq<System.Xml.Linq.XName> * seq<System.Xml.Linq.XName> -> unit
Public Sub Promote (name As String, promoteAsSqlVariant As IEnumerable(Of XName), promoteAsBinary As IEnumerable(Of XName))

Parameters

name
String

Name of the promotion.

promoteAsSqlVariant
IEnumerable<XName>

The names of variables that must be promoted as variants.

promoteAsBinary
IEnumerable<XName>

The names of variables that must be promoted as binary data. Binary data is typically used to store tracking information.

Applies to