EnableAppSmex Property
EnableAppSmex Property
Gets and sets a value that determines whether custom Simple Messaging Extension (SMEX ) objects that a SALT application specifies can be created.
obj.EnableAppSmex = boolean
Part |
Description |
---|---|
obj |
An instance of the TAS class. |
boolean |
A Boolean expression specifying whether custom SMEX objects can be created. |
Qualifiers
Qualifier |
Value |
Description |
---|---|---|
Registry |
True |
If True, this property value is read from the Registry. |
Restart |
False |
If False, changes to this property take effect without requiring the service to restart. |
DefaultValue |
False |
Default value for this property. |
MinValue |
0 |
Minimum value for this property. |
Remarks
This property is exposed in the Microsoft Speech Server Management Console snap-in.
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 TAS instance. Set tel = namespace.Get("TAS=@") ' Display the current value. WScript.Echo tel.EnableAppSmex ' Set the property value. tel.EnableAppSmex = True ' Update the class instance in WMI. tel.Put_