ICCProjectPolicy interface

Description

ICCProjectPolicy is the outdated CAL interface to project policy settings. See ICCProject::Policy for its use.

Product note: This interface has been superseded by the ICCPolicies interface and the ICCPolicy interface, which can get and set both project and stream policies. To work on project policies, use get_UCMPolicies, get_UCMPolicy, put_UCMPolicies, and put_UCMPolicy. For information on working on stream policies, see ICCStream interface.

Inheritance

ICCProjectPolicy inherits from IDispatch.

Read-write properties

DeliverRequireCheckin

Do not allow delivery from a development stream that has checkouts

DeliverRequireRebase

Require a development stream to be based on the current recommended baselines before it can be used to deliver changes to the integration stream

UNIXDevelopmentSnapshot

Recommend snapshot views for development work on computers that run Linux or the UNIX system

UNIXIntegrationSnapshot

Recommend snapshot views for integration work on computers that run Linux or the UNIX system

WinDevelopmentSnapshot

Recommend snapshot views for development work on platforms that run Windows

WinIntegrationSnapshot

Recommend snapshot views for integration work on platforms that run Windows

Examples

Creation

You can get a CCProjectPolicy object from the following interface:

DeliverRequireCheckin

Do not allow delivery from a development stream that has checkouts

Category

Read-write property

VB syntax

Property DeliverRequireCheckin As Boolean

Visual C++ syntax

VARIANT_BOOL GetDeliverRequireCheckin();
void PutDeliverRequireCheckin(VARIANT_BOOL NewDeliverRequireCheckin);
Parameter
Description
NewDeliverRequireCheckin
Visual C++ only. Specify True to require that there be no checked-out files for the delivery; False to allow checked-out files on deliver.

Member of: ICCProjectPolicy interface

DeliverRequireRebase

Require a development stream to be based on the current recommended baselines before it can be used to deliver changes to the integration stream

Category

Read-write property

VB syntax

Property DeliverRequireRebase As Boolean

Visual C++ syntax

VARIANT_BOOL GetDeliverRequireRebase();
void PutDeliverRequireRebase(VARIANT_BOOL NewDeliverRequireRebase);
Parameter
Description
NewDeliverRequireRebase
Visual C++ only. Specify True to require the development stream to be based on the current recommended baselines before it can be used to deliver changes to the integration stream; False to allow the development stream not to be based on the current recommended baselines before it can be used to deliver changes to the integration stream.

Member of: ICCProjectPolicy interface

UNIXDevelopmentSnapshot

Recommend snapshot views for development work on computers that run Linux or the UNIX system

Category

Read-write property

VB syntax

Property UNIXDevelopmentSnapshot As Boolean

Visual C++ syntax

VARIANT_BOOL GetUNIXDevelopmentSnapshot();
void PutUNIXDevelopmentSnapshot(VARIANT_BOOL NewUNIXDeveiopmentSnapshot);
Parameter
Description
NewUNIXDevelopmentSnapshot
Visual C++ only. Specify True to recommend snapshot views for development work on UNIX platforms; False not to make a recommendation.

Member of: ICCProjectPolicy interface

UNIXIntegrationSnapshot

Recommend snapshot views for integration work on computers that run Linux or the UNIX system

Category

Read-write property

VB syntax

Property UNIXIntegrationSnapshot As Boolean

Visual C++ syntax

VARIANT_BOOL GetUNIXIntegrationSnapshot();
void PutUNIXIntegrationSnapshot(VARIANT_BOOL NewUNIXIntegrationSnapshot);
Parameter
Description
NewUNIXIntegrationSnapshot
Visual C++ only. Specify True to recommend snapshot views for integration work on computers that run Linux or the UNIX system; False not to make a recommendation.

Member of: ICCProjectPolicy interface

WinDevelopmentSnapshot

Recommend snapshot views for development work on platforms that run Windows

Category

Read-write property

VB syntax

Property WinDevelopmentSnapshot As Boolean

Visual C++ syntax

VARIANT_BOOL GetWinDevelopmentSnapshot();
void PutWinDevelopmentSnapshot(VARIANT_BOOL NewWinDevelopmentSnapshot);
Parameter
Description
NewWinDevelopmentSnapshot
Visual C++ only. Specify True to recommend snapshot views for development work on platforms that run Windows; False not to make a recommendation.

Member of: ICCProjectPolicy interface

WinIntegrationSnapshot

Recommend snapshot views for integration work on platforms that run Windows

Category

Read-write property

VB syntax

Property WinIntegrationSnapshot As Boolean

Visual C++ syntax

VARIANT_BOOL GetWinIntegrationSnapshot(); void PutWinIntegrationSnapshot(VARIANT_BOOL NewWinIntegrationSnapshot);
Parameter
Description
NewWinIntegrationSnapshot
Visual C++ only. Specify True to recommend snapshot views for integration work on platforms that run Windows; False not to make a recommendation.

Member of: ICCProjectPolicy interface


Feedback