共用方式為


ISharedServiceApplication.Shared Property

Specifies whether or not the application instance is visible outside the local farm.

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

Syntax

'Declaration
Property Shared As Boolean
    Get
    Set
'Usage
Dim instance As ISharedServiceApplication
Dim value As Boolean

value = instance.Shared

instance.Shared = value
bool Shared { get; set; }

Property Value

Type: System.Boolean
true if this application instance should be visible outside the local farm; otherwise false.

See Also

Reference

ISharedServiceApplication Interface

ISharedServiceApplication Members

Microsoft.SharePoint.Administration Namespace