ITcSysManager2::SetTargetNetId
Sets the AMS NetID of the target system. Validates the NetID format, requires write access to the project file, and notifies the document of the change.
Signature
HRESULT SetTargetNetId(BSTR bstrNetId);
Parameter
|
Name |
Type |
Description |
|---|---|---|
|
bstrNetId |
BSTR |
[in, defaultvalue("")] AMS NetID in the format |
Return value
|
Name |
Type |
Description |
|---|---|---|
|
(HRESULT) |
HRESULT |
|
Error codes
-
E_INVALIDARG: The NetID is syntactically invalid. -
E_ACCESSDENIED: The project file is read-only.
See also
- GetTargetNetId