SPFarm.GetObject Method (Guid) (Microsoft.SharePoint.Administration)
Returns the specified object based on its associated GUID.

Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Function GetObject ( _
    id As Guid _
) As SPPersistedObject
Visual Basic (Usage)
Dim instance As SPFarm
Dim id As Guid
Dim returnValue As SPPersistedObject

returnValue = instance.GetObject(id)
C#
public SPPersistedObject GetObject (
    Guid id
)

Parameters

id

A System.Guid object that identifies the object.

Return Value

An SPPersistedObject object that represents the object that is associated with the GUID.
See Also

Tags :


Page view tracker