AdministrationDataSourceView.GetFarmObject<T> Method
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Shared Function GetFarmObject(Of T As SPPersistedObject) ( _
parameterValues As IDictionary, _
parameterName As String _
) As T
'Usage
Dim parameterValues As IDictionary
Dim parameterName As String
Dim returnValue As T
returnValue = AdministrationDataSourceView.GetFarmObject(parameterValues, _
parameterName)
protected static T GetFarmObject<T>(
IDictionary parameterValues,
string parameterName
)
where T : SPPersistedObject
Type Parameters
- T
Parameters
- parameterValues
Type: System.Collections.IDictionary
- parameterName
Type: System.String
Return Value
Type: T
See Also
Reference
AdministrationDataSourceView Class