VerifyEntitlementTokenResponse.DeploymentId property

Gets or sets a GUID that represents the deployment ID of the SharePoint deployment to which this app license applies.

Namespace:  VerificationSvc
Assembly:  SP15MrefVerificationSvc (in SP15MrefVerificationSvc.dll)

Syntax

'Declaration
Public Property DeploymentId As String
    Get
    Set
'Usage
Dim instance As VerifyEntitlementTokenResponse
Dim value As String

value = instance.DeploymentId

instance.DeploymentId = value
public string DeploymentId { get; set; }

Property value

Type: System.String
The SharePoint installation deployment ID.

Remarks

For apps for SharePoint, each app license applies to a specific app for a specific SharePoint deployment. A user with a license for an app can use that app on any site for that particular SharePoint deployment. In general, for the purpose of app licenses, deployment is defined as the SharePoint farm for on-premises SharePoint installations, and the tenancy for SharePoint Online in Office 365.

Deployment scope can vary, however, based on the configuration of the on-premises SharePoint installation. For information about deployment IDs and licensing, see License your apps for Office and SharePoint.

This property does not apply to apps for Office.

Note

The properties of the VerifyEntitlementTokenResponse object are provided for developers to verify property values of an app license. Setting these properties only changes the local copy of the license token; it has no effect on the license stored by the Office Store.

See also

Reference

VerifyEntitlementTokenResponse class

VerifyEntitlementTokenResponse members

VerificationSvc namespace

Other resources

License your apps for Office and SharePoint

How to: Add license checks to your apps for Office

How to: Add license checks to your app for SharePoint