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 a.b.c.d.e.f, empty for the default NetID.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.

Error codes

See also