共用方式為


SPWebTemplate.AllowGlobalFeatureAssociations property

取得值,這個值,指出使用站台定義設定] 或 [網站範本所建立的網站是否允許全域功能關聯。

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

Syntax

'宣告
Public ReadOnly Property AllowGlobalFeatureAssociations As Boolean
    Get
'用途
Dim instance As SPWebTemplate
Dim value As Boolean

value = instance.AllowGlobalFeatureAssociations
public bool AllowGlobalFeatureAssociations { get; }

Property value

Type: System.Boolean
true如果允許全域功能關聯 ;否則, false。

請參閱

參照

SPWebTemplate class

SPWebTemplate members

Microsoft.SharePoint namespace