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 |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
TSM_E_ITEMNOTFOUND: The variable could not be resolved. -
E_ACCESSDENIED: System Manager is disabled.
See also
- LinkVariables