Share via


SPFarm.UserLicensingEnabled property

Gets or sets whether per-user licensing is enabled.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UserLicensingEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.UserLicensingEnabled

instance.UserLicensingEnabled = value
public bool UserLicensingEnabled { get; set; }

Property value

Type: System.Boolean
true if per-user licensing is enabled; otherwise false.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace