WorkspaceVersionSpec Constructor (String, String)
Initializes a new WorkspaceVersionSpec instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
ownerName As String _
)
public WorkspaceVersionSpec(
string name,
string ownerName
)
public:
WorkspaceVersionSpec(
String^ name,
String^ ownerName
)
new :
name:string *
ownerName:string -> WorkspaceVersionSpec
public function WorkspaceVersionSpec(
name : String,
ownerName : String
)
Parameters
- name
Type: System.String
Workspace name for the specification.
- ownerName
Type: System.String
Workspace owner for the specification.
.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.