Freigeben über


DiscussionWebService.PublishDiscussions-Methode

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
)

Parameter

Rückgabewert

Typ: System.Collections.Generic.List<Int32>
Gibt List<T> zurück.

.NET Framework-Sicherheit

Siehe auch

Referenz

DiscussionWebService Klasse

Microsoft.TeamFoundation.Discussion.Server-Namespace