TeamFoundationVersionControlService.CreateCheckinNoteDefinition Method (TeamFoundationRequestContext, String, array<CheckinNoteFieldDefinition )
Create a new set of field definitions associated with the server item.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Sub CreateCheckinNoteDefinition ( _
requestContext As TeamFoundationRequestContext, _
associatedServerItem As String, _
checkinNoteFields As CheckinNoteFieldDefinition() _
)
public void CreateCheckinNoteDefinition(
TeamFoundationRequestContext requestContext,
string associatedServerItem,
CheckinNoteFieldDefinition[] checkinNoteFields
)
public:
void CreateCheckinNoteDefinition(
TeamFoundationRequestContext^ requestContext,
String^ associatedServerItem,
array<CheckinNoteFieldDefinition^>^ checkinNoteFields
)
member CreateCheckinNoteDefinition :
requestContext:TeamFoundationRequestContext *
associatedServerItem:string *
checkinNoteFields:CheckinNoteFieldDefinition[] -> unit
public function CreateCheckinNoteDefinition(
requestContext : TeamFoundationRequestContext,
associatedServerItem : String,
checkinNoteFields : CheckinNoteFieldDefinition[]
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
associatedServerItem
Type: System.StringThe server item to associate the checkin note definition with.
checkinNoteFields
Type: array<Microsoft.TeamFoundation.VersionControl.Server.CheckinNoteFieldDefinition[]CheckinNoteFieldDefinition objects that define these fields. If null or an empty array is specified, the checkin note fields for the associated server item are cleared.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationVersionControlService Class