VcsAfterCreateProject
| procedure VcsAfterCreateProject( pProject, pUserName: PChar; UserID, ProjectID: Cardinal ); stdcall; export;
|
This is a notification event only and none of the values passed in can be modified.
Parameters
|
Name
|
Description
|
|
pProject
|
The name of the newly created Project
|
|
pUserName
|
The name of the user that carried out the action
|
|
UserID
|
The ID of the user that carried out the action
|
|
ProjectID
|
The ID assigned to the new Project
|
Example (Delphi)
The following method is called after a Project is successfully created and simply logs the action to a local text file:
| procedure VcsAfterCreateProject( pProject, pUserName: PChar; UserID, ProjectID: Cardinal );
|
| begin
|
| // This method is called after a Project is created
|
| LogIt( Format( '%s - ''%s'' Created Project ''%s''', [ DateTimeToStr( Now ), String( pUserName ), String( pProject ) ] ) );
|
| end;
|
|
|
© 1995-2011 Quality Software Components Ltd