Perforce API for the .Net CLR P4.Net

P4BaseRecordSet.HasWarnings Method 

Checks the Recordset to determine if warnings occured.

[Visual Basic]
Public Function HasWarnings() As Boolean
[C#]
public bool HasWarnings();

Return Value

True if the p4 command returned warnings.

Remarks

This is the same as testing Warnings.Count.

See Also

P4BaseRecordSet Class | P4API Namespace