SqlWorkflowInstanceStoreBehavior.Promote 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
推廣可用於查詢的屬性。 升階屬性是指你可以在查詢中用來檢索實例的屬性。 這些屬性可以是簡單型態(int32、字串、布爾等),並以變體或二元檔來表示。
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>
必須被推廣為二進位資料的變數名稱。 二進位資料通常用於儲存追蹤資訊。