RetentionPolicy Constructor (BuildReason, BuildStatus, Int32)
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
Public Sub New ( _
reason As BuildReason, _
status As BuildStatus, _
numberToKeep As Integer _
)
public RetentionPolicy(
BuildReason reason,
BuildStatus status,
int numberToKeep
)
public:
RetentionPolicy(
BuildReason reason,
BuildStatus status,
int numberToKeep
)
new :
reason:BuildReason *
status:BuildStatus *
numberToKeep:int -> RetentionPolicy
public function RetentionPolicy(
reason : BuildReason,
status : BuildStatus,
numberToKeep : int
)
Parameters
- reason
Type: Microsoft.TeamFoundation.Build.Server.BuildReason
- status
Type: Microsoft.TeamFoundation.Build.Server.BuildStatus
- numberToKeep
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.