다음을 통해 공유


ISPCache.GetTree Method

Returns a list of all cached objects under a specified parent object and stores them in a specified List.

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Sub GetTree ( _
    objectTypeName As String, _
    id As String, _
    <OutAttribute> ByRef cacheObjects As List(Of SPCachedObject) _
)
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim id As String
Dim cacheObjects As List(Of SPCachedObject)

instance.GetTree(objectTypeName, id, cacheObjects)
void GetTree(
    string objectTypeName,
    string id,
    out List<SPCachedObject> cacheObjects
)

Parameters

  • id
    Type: System.String
    The unique identifier of the parent object.

Remarks

The parent-child relationship is specified by the ParentID property.

See Also

Reference

ISPCache Interface

ISPCache Members

Microsoft.Office.Server.ObjectCache Namespace