共用方式為


SPFarm.UserLicensingEnabled property

取得或設定是否已啟用使用者授權。

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

Syntax

'宣告
Public Property UserLicensingEnabled As Boolean
    Get
    Set
'用途
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如果每個使用者授權已啟用 ;否則false。

請參閱

參照

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace