共用方式為


SPExternalApplicationSettings.Enabled Property

Gets or sets a value that specifies whether an External Application Provider (EAP) is enabled for the SPWebService.

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

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As SPExternalApplicationSettings
Dim value As Boolean

value = instance.Enabled

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

Property Value

Type: System.Boolean
true if an EAP is enabled; otherwise, false.

Remarks

The EAP is specified in the Provider property.

See Also

Reference

SPExternalApplicationSettings Class

SPExternalApplicationSettings Members

Microsoft.SharePoint.Administration Namespace