共用方式為


TeamFoundationVersionControlService.CreateCheckinNoteDefinition Method (TeamFoundationRequestContext, String, array<CheckinNoteFieldDefinition , PathLength)

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(), _
    maxClientPathLength As PathLength _
)
public void CreateCheckinNoteDefinition(
    TeamFoundationRequestContext requestContext,
    string associatedServerItem,
    CheckinNoteFieldDefinition[] checkinNoteFields,
    PathLength maxClientPathLength
)
public:
void CreateCheckinNoteDefinition(
    TeamFoundationRequestContext^ requestContext, 
    String^ associatedServerItem, 
    array<CheckinNoteFieldDefinition^>^ checkinNoteFields, 
    PathLength maxClientPathLength
)
member CreateCheckinNoteDefinition : 
        requestContext:TeamFoundationRequestContext * 
        associatedServerItem:string * 
        checkinNoteFields:CheckinNoteFieldDefinition[] * 
        maxClientPathLength:PathLength -> unit
public function CreateCheckinNoteDefinition(
    requestContext : TeamFoundationRequestContext, 
    associatedServerItem : String, 
    checkinNoteFields : CheckinNoteFieldDefinition[], 
    maxClientPathLength : PathLength
)

Parameters

  • associatedServerItem
    Type: System.String

    The server item to associate the checkin note definition with.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

CreateCheckinNoteDefinition Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace