Feedback

MS Project Server 2007 Profile anlegen

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");
}