Sprache: C#
Mit diesem Snippet kann ein MS Project 2007 Profil angelegt werden.
folgende using muss dazu eingebunden werden:
[code]using Microsoft.Office.Interop.MSProject;[/code]
private void createProjectServerProfile()
{
ApplicationClass projectApplication = new ApplicationClass();
projectApplication.Profiles.Add("ProfileName", "ProjectServerURL", PjLoginType.pjWindowsLogin, "UserName");
}
private void createProjectServerProfile()
{
ApplicationClass projectApplication = new ApplicationClass();
projectApplication.Profiles.Add("ProfileName", "ProjectServerURL", PjLoginType.pjWindowsLogin, "UserName");
}
Alte URL:
/snippet/ms-project-server-2007-profile-anlegen/1298