共用方式為


SPWebApplication.MetaWeblogAuthenticationEnabled Property

Gets or sets a Boolean value that specifies whether to accept the user name and password from the MetaWeblog API.

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

Syntax

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

value = instance.MetaWeblogAuthenticationEnabled

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

Property Value

Type: System.Boolean
true if the user name and password is accepted from the MetaWeblog API; false if the currently configured authentication in SharePoint Foundation is used.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace