| ProjectServer Constructor |
Creates a new project server.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic ProjectServer(
Uri serverUri,
bool useWindowsAuthentication,
string userName,
string password
)
Public Sub New (
serverUri As Uri,
useWindowsAuthentication As Boolean,
userName As String,
password As String
)
public:
ProjectServer(
Uri^ serverUri,
bool useWindowsAuthentication,
String^ userName,
String^ password
)
new :
serverUri : Uri *
useWindowsAuthentication : bool *
userName : string *
password : string -> ProjectServerParameters
- serverUri
- Type: SystemUri
The URI of the server - useWindowsAuthentication
- Type: SystemBoolean
Whether to use Windows authentication. When set to false, userName and password
have to be specified. When set to true, either pass null for userName and
password in order to log on as the currently logged on Windows user, or set
userName to a domain-qualified Windows user name and password to the matching
password to log on using basic Windows authentication. - userName
- Type: SystemString
When using custom authentication or basic Windows authentication, the user
name of the user. Pass null to use integrated Windows authentication(see useWindowsAuthentication). - password
- Type: SystemString
When using custom authentication or basic Windows authentication the password
of the user. Pass null to use integrated Windows authentication (see useWindowsAuthentication).
See Also
Comments