Previous | Next |
Returns or sets the String value containing the name of the directory where the automatic content cache is stored.
Syntax
Station.AutoArchiveDir
Example
Set MyStation = NSChannelMgr.Channels.Find( "My Station")
If MyStation.AutoArchive Then
MsgBox ("Archive directory is " & MyStation.AutoArchiveDir _
" with maximum size " & MyStation.AutoArchiveSize & “.”)
Else
MsgBox ("Station will not be archived.")
End If
Remarks
You must create the directory before archiving a station. Windows Media Services verifies if the directory exists before archiving, and returns an error if it does not exist.
See Also
Channel Objects, Channel.AutoArchiveSize, Channel.AutoArchive
Previous | Next |