Export (0) Print
Expand All

SPDiagnosticsServiceBase.GetLocalToFarm<T> method

Returns an instance of the class derived from SPDiagnosticsServiceBase described by the T parameter.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected static T GetLocalToFarm<T>(
	SPFarm farm
)
where T : new(), SPDiagnosticsServiceBase

Type parameters

T

Must be a class derived from SPDiagnosticsServiceBase.

Parameters

farm
Type: Microsoft.SharePoint.Administration.SPFarm

The farm from which to get the instance of the class derived from SPDiagnosticsServiceBase.

Return value

Type: T
Returns an instance of the class derived from SPDiagnosticsServiceBase described by the T parameter.

Community Additions

ADD
Show:
© 2014 Microsoft