共用方式為


CheckInParameters.ValidateAuthor Property

Gets or sets a flag describing whether to validate the author property.

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

Syntax

'Declaration
Public Property ValidateAuthor As Boolean
public bool ValidateAuthor { get; set; }
public:
property bool ValidateAuthor {
    bool get ();
    void set (bool value);
}
member ValidateAuthor : bool with get, set
function get ValidateAuthor () : boolean 
function set ValidateAuthor (value : boolean)

Property Value

Type: System.Boolean
True to validate the author property; otherwise, false.

Remarks

A valid author is one that matches the DOMAIN\username of a valid identity on Team Foundation Server. If the author property is not validated, any string may be accepted.

.NET Framework Security

See Also

Reference

CheckInParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace