语言

SqlWorkflowInstanceStoreBehavior.Promote 方法

定义

提升可在查询中使用的属性。 提升的属性是在查询中可用于检索实例的属性。 这些属性可以是简单类型(int32、string、bool 等),由变体或二进制值表示。

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))

参数

name
String

升级的名称。

promoteAsSqlVariant
IEnumerable<XName>

必须提升为变体的变量的名称。

promoteAsBinary
IEnumerable<XName>

必须提升为二进制数据的变量的名称。 二进制数据通常用于存储跟踪信息。

适用于