Partager via


AddInManager.SetAddInExpirationDate Method (Guid, DateTime, Uri)

 

Sets the expiration date for the specified add-in package.

Namespace:   Microsoft.WindowsServerSolutions.AddinInfrastructure
Assembly:  AddinInfrastructure (in AddinInfrastructure.dll)

Syntax

public void SetAddInExpirationDate(
    Guid id,
    DateTime expirationUtc,
    Uri renewalUri
)
public:
void SetAddInExpirationDate(
    Guid id,
    DateTime expirationUtc,
    Uri^ renewalUri
)
Public Sub SetAddInExpirationDate (
    id As Guid,
    expirationUtc As Date,
    renewalUri As Uri
)

Parameters

  • id
    Type: System.Guid

    The identifier of the add-in package.

  • expirationUtc
    Type: System.DateTime

    The time that the add-in package expires. The DateTime.MaxValue value can be used if the add-in package does not expire.

  • renewalUri
    Type: System.Uri

    The URL where the add-in package can be renewed.

See Also

AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace

Return to top