DiscussionWebService.PublishDiscussions Method

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

Syntax

'Declaration
<WebMethodAttribute> _
<ClientServiceMethodAttribute(AsyncPattern := True, SyncPattern := False)> _
Public Function PublishDiscussions ( _
    legacyDiscussions As LegacyDiscussionThread(), _
    legacyComments As LegacyComment(), _
    deletedComments As CommentId(), _
    <OutAttribute> ByRef commentIds As List(Of Short), _
    <OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public List<int> PublishDiscussions(
    LegacyDiscussionThread[] legacyDiscussions,
    LegacyComment[] legacyComments,
    CommentId[] deletedComments,
    out List<short> commentIds,
    out DateTime lastUpdatedDate
)
[WebMethodAttribute]
[ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)]
public:
List<int>^ PublishDiscussions(
    array<LegacyDiscussionThread^>^ legacyDiscussions, 
    array<LegacyComment^>^ legacyComments, 
    array<CommentId^>^ deletedComments, 
    [OutAttribute] List<short>^% commentIds, 
    [OutAttribute] DateTime% lastUpdatedDate
)
[<WebMethodAttribute>]
[<ClientServiceMethodAttribute(AsyncPattern = true, SyncPattern = false)>]
member PublishDiscussions : 
        legacyDiscussions:LegacyDiscussionThread[] * 
        legacyComments:LegacyComment[] * 
        deletedComments:CommentId[] * 
        commentIds:List<int16> byref * 
        lastUpdatedDate:DateTime byref -> List<int> 
public function PublishDiscussions(
    legacyDiscussions : LegacyDiscussionThread[], 
    legacyComments : LegacyComment[], 
    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