SPSite.SyndicationEnabled 属性

Gets or sets a Boolean value that specifies whether RSS syndication is enabled for the site collection.

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

语法

声明
Public Property SyndicationEnabled As Boolean
    Get
    Set
用法
Dim instance As SPSite
Dim value As Boolean

value = instance.SyndicationEnabled

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

属性值

类型:System.Boolean
true to enable syndication; otherwise, false. Setting this property to true has no effect if syndication is blocked at a higher level. If the SyndicationEnabled property of the parent Web application is set to true, setting this property to true means that the site collection supports RSS feeds, and it also means that the AllowRssFeeds property returns true. If the SyndicationEnabled property of the parent Web application is set to false, setting this property to true has no effect on the AllowRssFeeds property and does not enable RSS feeds in the site collection.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间