Share via


DiscussionWebService.PublishDiscussions Method

Namespace:  Microsoft.TeamFoundation.Discussion.Server
Assembly:  Microsoft.TeamFoundation.Discussion.Server (in Microsoft.TeamFoundation.Discussion.Server.dll)

Syntax

'Declaration
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
<WebMethodAttribute> _
Public Function PublishDiscussions ( _
    discussions As DiscussionThread(), _
    comments As Comment(), _
    deletedComments As CommentId(), _
    <OutAttribute> ByRef commentIds As List(Of Short), _
    <OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
[WebMethodAttribute]
public List<int> PublishDiscussions(
    DiscussionThread[] discussions,
    Comment[] comments,
    CommentId[] deletedComments,
    out List<short> commentIds,
    out DateTime lastUpdatedDate
)
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
[WebMethodAttribute]
public:
List<int>^ PublishDiscussions(
    array<DiscussionThread^>^ discussions, 
    array<Comment^>^ comments, 
    array<CommentId^>^ deletedComments, 
    [OutAttribute] List<short>^% commentIds, 
    [OutAttribute] DateTime% lastUpdatedDate
)
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)>]
[<WebMethodAttribute>]
member PublishDiscussions : 
        discussions:DiscussionThread[] * 
        comments:Comment[] * 
        deletedComments:CommentId[] * 
        commentIds:List<int16> byref * 
        lastUpdatedDate:DateTime byref -> List<int> 
public function PublishDiscussions(
    discussions : DiscussionThread[], 
    comments : Comment[], 
    deletedComments : CommentId[], 
    commentIds : List<short>, 
    lastUpdatedDate : DateTime
) : List<int>

Parameters

Return Value

Type: System.Collections.Generic.List<Int32>
Returns List<T>.

.NET Framework Security

See Also

Reference

DiscussionWebService Class

Microsoft.TeamFoundation.Discussion.Server Namespace