SPProductVersions.GetProduct method
指定的產品資訊。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetProduct ( _
productName As String _
) As SPProduct
'用途
Dim instance As SPProductVersions
Dim productName As String
Dim returnValue As SPProduct
returnValue = instance.GetProduct(productName)
public SPProduct GetProduct(
string productName
)
參數
productName
Type: System.String在指定的產品名稱。
傳回值
Type: Microsoft.SharePoint.Administration.SPProduct
SPProduct 物件或a null reference (Nothing in Visual Basic)如果找不到產品。