DotNetModule.SpecifyHostByExpression
- Updated2026-02-03
- 1 minute(s) read
DotNetModule.SpecifyHostByExpression
Syntax
DotNetModule.SpecifyHostByExpression
Data Type
Purpose
Note
This property is
obsolete
. Use a remote creation call as the first call in the
DotNetModule
class instead, and specify the remote host using the first parameter of the call that is not a return value. The parameter value is always an expression. Setting this value affects only the conversion that occurs when you save the file for a version of TestStand earlier than 2010. You can specify a remote creation call by adding a call to the module using the
DotNetModule.Calls
collection and using the
DotNetCall.LoadPrototypeFromSignature
method to specify the call.
Remarks
Specifies if the DotNetModule.RemoteHost property contains an expression the module evaluates at run time to determine the name of the remote host.
The module ignores this property if RemoteHost is empty.