This documentation is archived and is not being maintained.

SPWeb.GetDocDiscussions Method

Windows SharePoint Services 3

Returns the collection of document discussion objects for the specified directory in the site.

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

public SPDocDiscussionCollection GetDocDiscussions(
	string strDocDir


Type: System.String
A string that specifies the name of the directory that contains the documents; for example, "Shared Documents".

Return Value

Type: Microsoft.SharePoint.SPDocDiscussionCollection
An SPDocDiscussionCollection object that represents the document discussions.