次の方法で共有


SPProduct.RequiredOnAllServers property

Indicates whether every server must have this product or not.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property RequiredOnAllServers As Boolean
    Get
'Usage
Dim instance As SPProduct
Dim value As Boolean

value = instance.RequiredOnAllServers
public bool RequiredOnAllServers { get; }

Property value

Type: System.Boolean
A Boolean with a value of true if this product is required on every server (in the SharePoint farm) and false if not.

See also

Reference

SPProduct class

SPProduct members

Microsoft.SharePoint.Administration namespace