Share via


ILocator.Update Method (Nullable<DateTime>, DateTime)

Updates the start time or expiration time of an Origin locator.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Sub Update ( _
    startTime As Nullable(Of DateTime), _
    expiryTime As DateTime _
)
'Usage
Dim instance As ILocator 
Dim startTime As Nullable(Of DateTime)
Dim expiryTime As DateTime

instance.Update(startTime, expiryTime)
void Update(
    Nullable<DateTime> startTime,
    DateTime expiryTime
)
void Update(
    Nullable<DateTime> startTime, 
    DateTime expiryTime
)
abstract Update : 
        startTime:Nullable<DateTime> * 
        expiryTime:DateTime -> unit
function Update(
    startTime : Nullable<DateTime>, 
    expiryTime : DateTime
)

Parameters

  • expiryTime
    Type: System.DateTime
    The new expiration time for the origin locator.

Exceptions

Exception Condition
InvalidOperationException

locator

See Also

Reference

ILocator Interface

Update Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace