다음을 통해 공유


VersionControlServer.CreateWorkspace 메서드 (String, String, String, array<WorkingFolder , String, Boolean)

Workspace를 만듭니다.

네임스페이스:  Microsoft.TeamFoundation.VersionControl.Client
어셈블리:  Microsoft.TeamFoundation.VersionControl.Client(Microsoft.TeamFoundation.VersionControl.Client.dll)

구문

‘선언
Public Function CreateWorkspace ( _
    name As String, _
    owner As String, _
    comment As String, _
    mappings As WorkingFolder(), _
    computer As String, _
    removeUnparentedCloaks As Boolean _
) As Workspace
public Workspace CreateWorkspace(
    string name,
    string owner,
    string comment,
    WorkingFolder[] mappings,
    string computer,
    bool removeUnparentedCloaks
)

매개 변수

  • name
    형식: System.String
    만들 Workspace의 이름입니다.이 소유자에 대해 고유 해야 합니다.
  • removeUnparentedCloaks
    형식: System.Boolean
    True 인 경우 무시 해도 매핑 오류가 제거 됩니다.

반환 값

형식: Microsoft.TeamFoundation.VersionControl.Client.Workspace
새로 만든 Workspace 개체입니다.

설명

호출 id는 전역 CreateWorkspace 권한이 있어야 합니다.작업 영역을 만들 수 없는 경우 예외가 throw 됩니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

VersionControlServer 클래스

CreateWorkspace 오버로드

Microsoft.TeamFoundation.VersionControl.Client 네임스페이스