Megosztás a következőn keresztül:


PolicyFailureInfo.PolicyName Property

Name of the policy that failed for this changeset.

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

Syntax

'Declaration
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Property PolicyName As String
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public string PolicyName { get; set; }
[ClientPropertyAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public:
property String^ PolicyName {
    String^ get ();
    void set (String^ value);
}
[<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
member PolicyName : string with get, set
function get PolicyName () : String 
function set PolicyName (value : String)

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

PolicyFailureInfo Class

Microsoft.TeamFoundation.VersionControl.Server Namespace