SPWeb.GetDocDiscussions Method
NOTE: This API is now obsolete.
Returns the collection of document discussion objects for the specified directory in the site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("SPDocDiscussionCollection is deprecated", False)> _
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetDocDiscussions ( _
strDocDir As String _
) As SPDocDiscussionCollection
'Usage
Dim instance As SPWeb
Dim strDocDir As String
Dim returnValue As SPDocDiscussionCollection
returnValue = instance.GetDocDiscussions(strDocDir)
[ObsoleteAttribute("SPDocDiscussionCollection is deprecated", false)]
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPDocDiscussionCollection GetDocDiscussions(
string strDocDir
)
Parameters
strDocDir
Type: System.StringA 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.