SPWebService.QueryFeatures method (Guid)
會取得所有功能的 Web 服務中具有特定功能識別碼。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function QueryFeatures ( _
featureId As Guid _
) As SPFeatureQueryResultCollection
'用途
Dim instance As SPWebService
Dim featureId As Guid
Dim returnValue As SPFeatureQueryResultCollection
returnValue = instance.QueryFeatures(featureId)
public SPFeatureQueryResultCollection QueryFeatures(
Guid featureId
)
參數
featureId
Type: System.Guid僅包含使用此功能識別碼的功能
傳回值
Type: Microsoft.SharePoint.SPFeatureQueryResultCollection
SPFeatureQueryResultCollection 物件,以便逐一查看所有功能的 Web 服務中具有特定功能識別碼。