Compartilhar via


Método DiscussionWebService.PublishDiscussions

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

Sintaxe

'Declaração
<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
)

Parâmetros

Valor de retorno

Tipo: System.Collections.Generic.List<Int32>
Retorna List<T>.

Segurança do .NET Framework

Consulte também

Referência

DiscussionWebService Classe

Namespace Microsoft.TeamFoundation.Discussion.Server