TfsConfigurationServer 생성자 (RegisteredConfigurationServer)
로컬 컴퓨터에 등록 정보를 사용 하 여 TfsConfigurationServer 개체의 새 인스턴스를 초기화 합니다.
네임스페이스: Microsoft.TeamFoundation.Client
어셈블리: Microsoft.TeamFoundation.Client(Microsoft.TeamFoundation.Client.dll)
구문
‘선언
Public Sub New ( _
application As RegisteredConfigurationServer _
)
public TfsConfigurationServer(
RegisteredConfigurationServer application
)
매개 변수
- application
형식: Microsoft.TeamFoundation.Client.RegisteredConfigurationServer
등록된 된 서버를 실행 하는 Team Foundation Server.
설명
등록 된 구성 서버를 사용 하 여 얻을 수 있습니다 RegisteredTfsConnections.GetConfigurationServers.
// Get the servers registered on this computer
RegisteredConfigurationServer[] servers = RegisteredTfsConnections.GetConfigurationServers();
// Connect to the first one in the array
TfsConfigurationServer tfs = new TfsConfigurationServer(servers[0]);
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.
참고 항목
참조
Microsoft.TeamFoundation.Client 네임스페이스