ICCProject interface

Description

The ICCProject interface represents the Rational® ClearCase® UCM project object.

Inheritance

ICCProject inherits from ICCUCMObject, which
inherits from ICCVOBObject, which inherits from IDispatch. ICCVOBObject interface ICCUCMObject interface

Read-only properties

ClearQuestDatabaseName

Gets the name of the Rational ClearQuest® user database that is linked to this CRM-enabled project

DevelopmentStreams

Gets the development streams of this project

get_UCMPolicies

Reads the specified collection of policies on the project

get_UCMPolicy

Reads the value of the specified policy

HasStreams

Gets whether or not there are any streams associated with this project

IntegrationStream

Gets the integration stream of this project

IsCRMEnabled

Gets whether or not the project is "CRM enabled"; in other words, is linked to a Rational ClearQuest user database

Model

Gets the project model.

ModifiableComponents

Gets the set of components that can be modified by this project

ParentFolder

Gets the folder that contains this project

Policy

Gets the policy settings that are associated with this project

RecommendedBaselines

Gets the project's list of recommended baselines

RequiredPromotionLevel

Gets the minimum promotion level that a baseline must have in order to be a recommended baseline in a rebase operation

Streams

Gets the streams of this project

Methods

get_ClearQuestConnectionName

Gets the connection name (dbset) from the UCM project record

put_UCMPolicies

Writes the specified collection of policies to the project VOB

put_UCMPolicy

Writes the specified policy value to the project VOB

Examples

Creation

ClearQuestDatabaseName

Gets the name of the Rational ClearQuest user database that is linked to this CRM-enabled project

Category

Read-only property

VB syntax

Property ClearQuestDatatbaseName As String

Visual C++ syntax

_bstr_t ClearQuestDatabaseName();

DevelopmentStreams

Gets the development streams of this project

Category

Read-only property

VB syntax

Property DevelopmentStreams([ Owner As String = "" ]) As CCStreams

Visual C++ syntax

ICCStreamsPtr GetDevelopmentStreams(_bstr_t Owner);
Parameter
Description
Owner
Optional in Visual Basic. Owner may be specified to return only those development streams owned by the specified user.

Member of: ICCProject interface

get_ClearQuestConnectionName

Gets the connection name (dbset) from the UCM project record

Category

Method

VB syntax

Function get_ClearQuestConnectionName As String

Visual C++ syntax

_bstr_t get_ClearQuestConnectionName();

get_UCMPolicies

Reads the specified collection of policies on the project

Category

Read-only property

VB syntax

Visual C++ syntax


Member of: ICCProject interface

get_UCMPolicy

Reads the value of the specified policy

Category

Read-only property

VB syntax

Visual C++ syntax


Member of: ICCProject interface

HasStreams

Gets whether or not there are any streams associated with this project

Category

Read-only property

VB syntax

Property HasStreams As Boolean

Visual C++ syntax

VARIANT_BOOL GetHasStreams();

Member of: ICCProject interface

IntegrationStream

Gets the integration stream of this project

Category

Read-only property

VB syntax

Property IntegrationStream As CCStream

Visual C++ syntax

ICCStreamPtr GetIntegrationStream();

Member of: ICCProject interface

IsCRMEnabled

Gets whether or not the project is "CRM enabled"; in other words, is linked to a Rational ClearQuest user database

Category

Read-only property

VB syntax

PropertyIsCRMEnabled As Boolean

Visual C++ syntax

VARIANT_BOOL GetIsCRMEnabled();

Model

Gets the project model.

If the project is a single-stream project, it returns SIMPLE; if the project is multiple-stream, it returns DEFAULT.

Category

Read-only property

VB syntax

Property Model As String

Visual C++ syntax

_bstr_t GetModel();

Member of: ICCProject interface

ModifiableComponents

Gets the set of components that can be modified by this project

Category

Read-only property

VB syntax

Property ModifiableComponents As CCComponents

Visual C++ syntax

ICCComponentsPtr GetModifiableComponents();

Member of: ICCProject interface

ParentFolder

Gets the folder that contains this project

Category

Read-only property

VB syntax

Property ParentFolder As CCFolder

Visual C++ syntax

ICCFolderPtr GetParentFolder();

Member of: ICCProject interface

Policy

Gets the policy settings that are associated with this project

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

Category

Read-only property

VB syntax

Property Policy As CCProjectPolicy

Visual C++ syntax

ICCProjectPolicyPtr GetPolicy();

Member of: ICCProject interface

put_UCMPolicies

Writes the specified collection of policies to the project VOB

Category

Method

VB syntax

Sub put_UCMPolicies(ICCPolicies policies)

Visual C++ syntax


Member of: ICCProject interface

put_UCMPolicy

Writes the specified policy value to the project VOB

Category

Method

VB syntax

Sub put_UCMPolicy(ICCPolicy policy)

Visual C++ syntax


Member of: ICCProject interface

RecommendedBaselines

Gets the project's list of recommended baselines

Category

Read-only property

VB syntax

Property RecommendedBaselines As CCBaselines

Visual C++ syntax

ICCBaselinesPtr GetRecommendedBaselines();

Member of: ICCProject interface

RequiredPromotionLevel

Gets the minimum promotion level that a baseline must have in order to be a recommended baseline in a rebase operation

Category

Read-only property

VB syntax

Property RequiredPromotionLevel As String

Visual C++ syntax

_bstr_t GetRequiredPromotionLevel();

Member of: ICCProject interface

Streams

Gets the streams of this project

Category

Read-only property

VB syntax

PropertyStreams([ Owner As String = "" ]) As CCStreams

Visual C++ syntax

ICCStreamsPtr GetStreams(
     _bstr_t Owner);
Parameter
Description
Owner
Optional in Visual Basic. Owner may be specified to return only those streams owned by the specified user.

Member of: ICCProject interface


Feedback