RegisteredServers.GetServerNames 方法

取得登錄伺服器的名稱清單。

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

語法

'宣告
Public Shared Function GetServerNames As String()
public static string[] GetServerNames()

傳回值

類型:array<System.String[]
註冊的伺服器名稱。

.NET Framework 安全性

請參閱

參考

RegisteredServers 類別

Microsoft.TeamFoundation.Client 命名空間