Export (0) Print
Expand All

AddInManager.SetAddInExpirationDate Method

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

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

'Usage
Dim instance As AddInManager
Dim id As Guid
Dim expirationUtc As DateTime
Dim renewalUri As Uri

instance.SetAddInExpirationDate(id, expirationUtc, renewalUri)

public:
void SetAddInExpirationDate (
	Guid id, 
	DateTime expirationUtc, 
	Uri^ renewalUri
)
public void SetAddInExpirationDate (
	Guid id, 
	DateTime expirationUtc, 
	Uri renewalUri
)
public function SetAddInExpirationDate (
	id : Guid, 
	expirationUtc : DateTime, 
	renewalUri : Uri
)

Parameters

id

The identifier of the add-in package.

expirationUtc

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

renewalUri

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64

Target Platforms

Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials, Windows Server 2012 Essentials

Copyright © 2013 by Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft