共用方式為


SPFarm.Products Property

Gets or sets a collection of IDs of products installed in this farm.

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

Syntax

'Declaration
Public Property Products As IEnumerable(Of Guid)
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As IEnumerable(Of Guid)

value = instance.Products

instance.Products = value
public IEnumerable<Guid> Products { get; set; }

Property Value

Type: System.Collections.Generic.IEnumerable<Guid>
IEnumerable<T> is a collection of IDs representing the products installed in this farm.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace