共用方式為


PendChangesNotification.UserName Property

Note: This API is now obsolete.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the User property instead")> _
<BrowsableAttribute(False)> _
Public ReadOnly Property UserName As String
[ObsoleteAttribute("Use the User property instead")]
[BrowsableAttribute(false)]
public string UserName { get; }
[ObsoleteAttribute(L"Use the User property instead")]
[BrowsableAttribute(false)]
public:
property String^ UserName {
    String^ get ();
}
[<ObsoleteAttribute("Use the User property instead")>]
[<BrowsableAttribute(false)>]
member UserName : string with get
function get UserName () : String

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

PendChangesNotification Class

Microsoft.TeamFoundation.VersionControl.Server Namespace