SqlTrackingQuery 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

包含方法和屬性,用於管理包含在 SqlTrackingService 使用的 SQL 資料庫中的追蹤資料查詢。

public ref class SqlTrackingQuery sealed
public sealed class SqlTrackingQuery
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class SqlTrackingQuery
type SqlTrackingQuery = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type SqlTrackingQuery = class
Public NotInheritable Class SqlTrackingQuery
繼承
SqlTrackingQuery
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

SqlTrackingQuery 提供的方法和屬性可讓您用來存取儲存在 SqlTrackingService 使用的 SQL 資料庫中之特定種類的追蹤資料。 這些資料的存取是由 SqlTrackingWorkflowInstance 物件提供。 您可以呼叫 TryGetWorkflow,以嘗試取得特定工作流程執行個體的 SqlTrackingWorkflowInstance。 您可以呼叫 GetWorkflows 以取得 SqlTrackingWorkflowInstance 物件的集合,這些物件對應的工作流程執行個體所擁有的追蹤資料符合在此方法中當做參數傳遞的 SqlTrackingQueryOptions 所包含的查詢參數。 如需可用之追蹤資料類型的詳細資訊,請參閱 類別,如需可執行之查詢類型的詳細資訊,請參閱 類別。

建構函式

SqlTrackingQuery()
已淘汰.

初始化 SqlTrackingQuery 類別的新執行個體。

SqlTrackingQuery(String)
已淘汰.

初始化 SqlTrackingQuery 類別的新執行個體。

屬性

ConnectionString
已淘汰.

要查詢之 SQL 追蹤資料庫的連線字串。

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
GetWorkflows(SqlTrackingQueryOptions)
已淘汰.

為與 SqlTrackingQueryOptions 指定之查詢參數對應的工作流程執行個體傳回追蹤資料。

MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)
TryGetWorkflow(Guid, SqlTrackingWorkflowInstance)
已淘汰.

嘗試取得指定之工作流程執行個體的查詢資料。

適用於