Previous Topic: SetPathOption MethodCaCheckin

Next Topic: SetClientDir Method


SetItemOption Method

Sets the Item Option for this process.

Syntax

object.SetItemOption(lngOption)

Owning Class

CaWCheckin

Arguments

lngOption - A long that represents the Item Option.

Return Value

Returns True if success, False if fail.

Notes

The following are the allowable values for the Item Option:

0

Checkin the file whether or not it exists in the repository.

1

Checkin the file only if it does not yet exist in the repository.

2

Checkin the file only if it currently exists in the repository.

Example

Dim objCheckin
Set objCheckin = objContext.GetCheckin()
blnRet = objCheckin.SetItemOption(CI_FILTER_NEW_OR_EXISTING_ITEMS)

More information: