AudioConnectionIP Property
AudioConnectionIP Property
Gets and sets the IP address that Speech Engine Services (SES) monitors for audio connection requests from a client.
obj.AudioConnectionIP = string
Part |
Description |
---|---|
obj |
An instance of the SES class. |
string |
A string that specifies the IP address that SES monitors. This value can be an empty string, or an IP address. |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Registry |
True |
If True, this property value is read from the Registry. |
Replicate |
False |
If True, this property is replicated, otherwise it is not. |
Restart |
True |
After changes to this property value, the service must restart before the changes are implemented. |
DefaultValue |
"" |
Default value for this property. |
Remarks
This property is exposed in the Microsoft Speech Server Management Console snap-in.
If not specified, SES listens on all IP addresses (all network interfaces) on the server node.
Windows Management Instrumentation (WMI) Script Example
myComputer = "localhost" ' Use a Locator object to connect to WMI. Set locator = CreateObject("WbemScripting.SWbemLocator") Set namespace = locator.ConnectServer(myComputer, "root/MSS") ' Get the SES instance. Set ss = namespace.Get("SES=@") ' Display the current property value. WScript.Echo ss.AudioConnectionIP ' Set the property value. ss.AudioConnectionIP = "157.56.190.94" ' Update the class instance in WMI. ss.Put_