SPFeatureDefinition.ActivationDependencies property
會取得啟動此功能會相依於該功能的集合。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ActivationDependencies As SPFeatureDependencyCollection
Get
'用途
Dim instance As SPFeatureDefinition
Dim value As SPFeatureDependencyCollection
value = instance.ActivationDependencies
public SPFeatureDependencyCollection ActivationDependencies { get; }
Property value
Type: Microsoft.SharePoint.SPFeatureDependencyCollection
SPFeatureDependencyCollection 物件,代表此功能會相依於該功能的集合。
備註
啟動相依性可用來完成兩件事。當任一相關聯的功能已啟動,或其可以保證資源時,包含這些SPSite物件內實作包含SPWeb物件中的實作者可以開啟相關聯的所有功能。
請參閱
參照
Microsoft.SharePoint.Administration namespace
其他資源
啟動相依性和範圍