ITcSysManager::UnlinkVariables

Deletes the link between two variables. If bstrV2 is empty, all links originating from bstrV1 are removed. Detects and reports broken links, recalculates the owner status, and sets the Mapping Modified flag.

Signature

HRESULT UnlinkVariables(BSTR bstrV1, BSTR bstrV2);

Parameter

Name

Type

Description

bstrV1

BSTR

[in] Path name of the first variable.

bstrV2

BSTR

[in, defaultvalue("")] Path name of the second variable, or empty to remove all links from bstrV1.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also