Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Construct a WorkspaceVersionSpec based the specified workspace name and owner.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    name As String, _
    ownerName As String, _
    ownerDisplayName As String _
)
public WorkspaceVersionSpec(
    string name,
    string ownerName,
    string ownerDisplayName
)
public:
WorkspaceVersionSpec(
    String^ name, 
    String^ ownerName, 
    String^ ownerDisplayName
)
new : 
        name:string * 
        ownerName:string * 
        ownerDisplayName:string -> WorkspaceVersionSpec
public function WorkspaceVersionSpec(
    name : String, 
    ownerName : String, 
    ownerDisplayName : String
)
Parameters
- name 
 Type: System.String- The workspace name for the specification. 
- ownerName 
 Type: System.String- The workspace owner for the specification. 
- ownerDisplayName
 Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.