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.GuidThe identifier of the add-in package.
expirationUtc
Type: System.DateTimeThe 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.UriThe URL where the add-in package can be renewed.
See Also
AddInManager Class
Microsoft.WindowsServerSolutions.AddinInfrastructure Namespace
Return to top