共用方式為


SPProductVersions.OptionalProducts Property

Returns a list of optional products installed on each server.

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

Syntax

'Declaration
Public ReadOnly Property OptionalProducts As List(Of String)
    Get
'Usage
Dim instance As SPProductVersions
Dim value As List(Of String)

value = instance.OptionalProducts
public List<string> OptionalProducts { get; }

Property Value

Type: System.Collections.Generic.List<String>
A List<T> of products.

See Also

Reference

SPProductVersions Class

SPProductVersions Members

Microsoft.SharePoint.Administration Namespace