共用方式為


ITeamFoundationDiscussionService.PublishDiscussions 方法

命名空間:  Microsoft.TeamFoundation.Discussion.Server
組件:  Microsoft.TeamFoundation.Discussion.Server (在 Microsoft.TeamFoundation.Discussion.Server.dll 中)

語法

'宣告
Function PublishDiscussions ( _
    requestContext As TeamFoundationRequestContext, _
    discussions As DiscussionThread(), _
    comments As DiscussionComment(), _
    deletedComments As CommentId(), _
    <OutAttribute> ByRef commentIds As List(Of Short), _
    <OutAttribute> ByRef lastUpdatedDate As DateTime _
) As List(Of Integer)
List<int> PublishDiscussions(
    TeamFoundationRequestContext requestContext,
    DiscussionThread[] discussions,
    DiscussionComment[] comments,
    CommentId[] deletedComments,
    out List<short> commentIds,
    out DateTime lastUpdatedDate
)

參數

  • discussions
    類型:array<DiscussionThread[]
  • comments
    類型:array<DiscussionComment[]

傳回值

類型:System.Collections.Generic.List<Int32>

.NET Framework 安全性

請參閱

參考

ITeamFoundationDiscussionService 介面

Microsoft.TeamFoundation.Discussion.Server 命名空間