Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToString method

SPPersistedObject.ToString method

Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on).

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

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override string ToString()

Return value

Type: System.String
A string that contains the type and name of the object.
© 2015 Microsoft