VersionControlServer.GetAllCheckinNoteFieldNames Method

When a user checks changes into the server that is running Team Foundation Server, he can leave, in addition to a generic comment string, a series of named note fields. For instance, a user might type at the command prompt /notes:reviewer=Bob;testsite=Chicago when they check in their files. Team Foundation Server does not have hard-coded fields called reviewer or testsite but they are entered as named properties of this changeset. In general, the property names are not established by the user checking in, but by company policy, so you can query later for all changesets where the testsite property was set to Chicago. This gives you the ability to extend the Team Foundation Server-provided fields associated with changesets. This method returns a list of all the check-in note field names that have ever been used in this Team Foundation Server database. So if the above example had ever been executed on any changeset, the returned list would include the strings reviewer and testsite.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function GetAllCheckinNoteFieldNames As String()
'Usage
Dim instance As VersionControlServer 
Dim returnValue As String()

returnValue = instance.GetAllCheckinNoteFieldNames()
public string[] GetAllCheckinNoteFieldNames()
public:
array<String^>^ GetAllCheckinNoteFieldNames()
public function GetAllCheckinNoteFieldNames() : String[]

Return Value

Type: array<System.String[]
Returns a list of check-in note field names.

.NET Framework Security

See Also

Reference

VersionControlServer Class

VersionControlServer Members

Microsoft.TeamFoundation.VersionControl.Client Namespace