SqlTrackingQuery 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
包含用於管理 SQL 資料庫 SqlTrackingService中追蹤資料查詢的方法與屬性。
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
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
SqlTrackingQuery 提供方法與屬性,供你存取儲存在 SQL 資料庫 SqlTrackingService中的某些類型的追蹤資料。 這些資料的存取是透過 SqlTrackingWorkflowInstance 物件提供。 你可以打電話TryGetWorkflow嘗試針對特定工作流程實例取得。SqlTrackingWorkflowInstance 你可以呼叫 GetWorkflows 一組 SqlTrackingWorkflowInstance 對應工作流程實例的物件,這些實例的追蹤資料與一組查詢參數 SqlTrackingQueryOptions 相符,這些參數會作為參數傳給方法。 請參閱類別 SqlTrackingWorkflowInstance 以了解可用的追蹤資料類型,並參考類別 SqlTrackingQueryOptions 以了解可執行的查詢類型。
建構函式
| 名稱 | Description |
|---|---|
| SqlTrackingQuery() |
已淘汰.
初始化 SqlTrackingQuery 類別的新執行個體。 |
| SqlTrackingQuery(String) |
已淘汰.
初始化 SqlTrackingQuery 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| ConnectionString |
已淘汰.
查詢 SQL 資料庫的 連接字串。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| GetWorkflows(SqlTrackingQueryOptions) |
已淘汰.
回傳一組對應於由 SqlTrackingQueryOptions指定的查詢參數集合的工作流程實例的追蹤資料。 |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |
| TryGetWorkflow(Guid, SqlTrackingWorkflowInstance) |
已淘汰.
嘗試取得指定工作流程實例的查詢資料。 |