RecordingDirectory Property
RecordingDirectory Property
Gets and sets the folder where application-defined recorded audio files are temporarily stored.
obj.RecordingDirectory = folder
Part |
Description |
---|---|
obj |
An instance of the TAS class. |
folder |
A string specifying the fully qualified path to the folder where recorded audio files are stored. |
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. |
Replicate |
False |
If True, this property is replicated, otherwise it is not. |
DefaultValue |
"%TEMP%" |
Default value for this property. |
Remarks
The RecordingDirectory property must be defined using a fully qualified path. If the specified folder does not exist, Telephony Application Services (TAS) returns an error.
This property is exposed in the Microsoft Speech Server (MSS) snap-in for Microsoft Management Console (MMC).
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.RecordingDirectory ' Set the property value. tel.RecordingDirectory = "%TEMP%" ' Update the class instance in WMI. tel.Put_