IComponentCreator 介面

元件建立者介面。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Interface IComponentCreator
public interface IComponentCreator

IComponentCreator 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 IsTransitionCreator 當我們轉換服務使用資源管理員時,我們必須指定要建立元件的元件 Factory,直到服務註冊。
公用屬性 ServiceVersion 服務的版本。

回頁首

方法

  名稱 描述
公用方法 Create(TeamFoundationRequestContext, String) 使用要求內容和資料庫類別,建立元件。
公用方法 Create(String, Int32, Int32, Int32) 使用連接字串,建立元件。

回頁首

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間