共用方式為


CreateWorkspaceParameters.PermissionProfile Property

The workspace permission profile for the workspace to be created. A workspace permission profile is a template for the workspace's access control list. By default, the value for this parameter is WorkspacePermissionProfile.BuiltInProfiles[(int)WorkspacePermissionProfile.BuiltInIndexes.Private], which only grants permission to the owner of the workspace (a 'private' workspace).

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Property PermissionProfile As WorkspacePermissionProfile
public WorkspacePermissionProfile PermissionProfile { get; set; }
public:
property WorkspacePermissionProfile^ PermissionProfile {
    WorkspacePermissionProfile^ get ();
    void set (WorkspacePermissionProfile^ value);
}
member PermissionProfile : WorkspacePermissionProfile with get, set
function get PermissionProfile () : WorkspacePermissionProfile 
function set PermissionProfile (value : WorkspacePermissionProfile)

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspacePermissionProfile
The workspace permission profile for the workspace to be created. A workspace permission profile is a template for the workspace's access control list. By default, the value for this parameter is WorkspacePermissionProfile.BuiltInProfiles[(int)WorkspacePermissionProfile.BuiltInIndexes.Private], which only grants permission to the owner of the workspace (a 'private' workspace).

.NET Framework Security

See Also

Reference

CreateWorkspaceParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace