Partager via


SPSite.SyndicationEnabled - Propriété

Obtient ou définit une valeur Boolean qui spécifie si la syndication de flux RSS est activée pour la collection de sites.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Property SyndicationEnabled As Boolean
    Get
    Set
'Utilisation
Dim instance As SPSite
Dim value As Boolean

value = instance.SyndicationEnabled

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

Valeur de propriété

Type : 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.

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms