Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the specified object based on its associated GUID.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function GetObject ( _
id As Guid _
) As SPPersistedObject
'Usage
Dim instance As SPFarm
Dim id As Guid
Dim returnValue As SPPersistedObject
returnValue = instance.GetObject(id)
public SPPersistedObject GetObject(
Guid id
)
Parameters
id
Type: System.GuidA System.Guid object that identifies the object.
Return Value
Type: Microsoft.SharePoint.Administration.SPPersistedObject
An SPPersistedObject object that represents the object that is associated with the GUID.