SPWebTemplate.VisibilityFeatureDependencyId 属性

获取标识网站定义配置Web 模板依赖的功能的 GUID。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property VisibilityFeatureDependencyId As Guid
    Get
用法
Dim instance As SPWebTemplate
Dim value As Guid

value = instance.VisibilityFeatureDependencyId
public Guid VisibilityFeatureDependencyId { get; }

属性值

类型:System.Guid
标识网站定义配置或模板依赖的功能Guid 。默认值为所有零。

备注

此属性对应于WebTemp*.xml文件中Configuration元素的VisibilityFeatureDependency属性。它用于隐藏基于指定的功能的激活状态的网站定义配置。当网站定义配置中包含依赖于另一个功能的功能时,设置此属性可以防止用户创建新网站时作为选项在 UI 中显示的网站定义配置。此属性不支持功能与 Web 应用程序范围。

另请参阅

引用

SPWebTemplate 类

SPWebTemplate 成员

Microsoft.SharePoint 命名空间