共用方式為


SPWebApplication.SyndicationEnabled Property

Gets or sets a value specifying whether to enable syndication.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property SyndicationEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.SyndicationEnabled

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

Property Value

Type: System.Boolean
true if syndication should be enabled; otherwise, false.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace