共用方式為


SPWebApplication.MetaWeblogEnabled Property

Gets or sets a Boolean value that specifies whether to enable the MetaWeblog API for the Web application.

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

Syntax

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

value = instance.MetaWeblogEnabled

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

Property Value

Type: System.Boolean
true if the MetaWeblog API should be enabled for the Web application; otherwise, false.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace