Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPFarm Class
SPFarm Methods
GetObject Method
 GetObject Method (Guid)
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
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)
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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker