ServerSettings 類別

表示伺服器設定及其元件。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.ServerSettings

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public NotInheritable Class ServerSettings
public sealed class ServerSettings

ServerSettings 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 ServerSettings(ServerSettings) ServerSettings 執行個體的複製建構函式。
公用方法 ServerSettings(WorkspaceLocation) 初始化 ServerSettings 類別的新執行個體與指定的工作區的位置。

回頁首

屬性

  名稱 描述
公用屬性 AllowAsynchronousCheckoutInServerWorkspaces 取得或設定指出伺服器是否在伺服器工作區允許非同步簽出。
公用屬性靜態成員 Default
公用屬性 DefaultWorkspaceLocation 取得預設工作區位置。
公用屬性 IsDefault
公用屬性 MaxServerPathLength

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 ToString 傳回代表目前物件的字串。 (覆寫 Object.ToString()。)

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.VersionControl.Client 命名空間