共用方式為


Workspace.HasAdministerPermission Property

Gets a flag describing whether the AuthorizedUser has Administer permissions for this workspace.

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

Syntax

'宣告
Public ReadOnly Property HasAdministerPermission As Boolean
    Get
public bool HasAdministerPermission { get; }
public:
property bool HasAdministerPermission {
    bool get ();
}
member HasAdministerPermission : bool
function get HasAdministerPermission () : boolean

Property Value

Type: System.Boolean
True if the AuthorizedUser has Administer permissions for this workspace. False otherwise.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace