SPQueryUsageDefinition constructor (SPFarm)
NOTE: This API is now obsolete.
初始化指定的 SharePoint 伺服器陣列內的**[Microsoft.SharePoint.Administration.SPQueryUsageDefinition]**類別的新執行個體。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")> _
Public Sub New ( _
farm As SPFarm _
)
'用途
Dim farm As SPFarm
Dim instance As New SPQueryUsageDefinition(farm)
[ObsoleteAttribute("Query usage collection is no longer necessary for the new analytics platform.")]
public SPQueryUsageDefinition(
SPFarm farm
)
參數
farm
Type: Microsoft.SharePoint.Administration.SPFarm**[Microsoft.SharePoint.Administration.SPFarm]**物件。
請參閱
參照
SPQueryUsageDefinition members