This function sets the expiration time for a given stream. Once the stream expires, it will be deleted.
Namespace: VcClientAssembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)
Syntax
C# |
---|
public static void SetStreamExpirationTime(
string stream,
TimeSpan expirationTime
) |
Visual Basic |
---|
Public Shared Sub SetStreamExpirationTime ( _
stream As String, _
expirationTime As TimeSpan _
) |
Visual C++ |
---|
public:
static void SetStreamExpirationTime(
String^ stream,
TimeSpan expirationTime
) |
Parameters
- stream
- Type: String
complete path of the stream in vc:// or http:// format.
- expirationTime
- Type: TimeSpan
Duration after which the stream should expire. Pass MaxValue()()()() to indicate that a
stream should never expire.
See Also