Channel.AutoArchiveDir Property

Returns or sets the String value containing 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. Microsoft® NetShow™ will check to see if the directory exists before archiving.

See Also

Channel object, Channel.AutoArchiveSize, Channel.AutoArchiveDir

© 1996-1998 Microsoft Corporation. All rights reserved.