Properties

MSBuild

Public Properties

  Name Description
Public property AccessExecute Gets or sets a value that indicates if the file or the contents of the folder may be executed, regardless of file type.
Public property AccessNoRemoteExecute A value of true indicates that remote requests to execute applications are denied; only requests from the same computer as the IIS server succeed if the AccessExecute property is set to true. You cannot set AccessNoRemoteExecute to false to enable remote requests, and set AccessExecute to false to disable local requests.
Public property AccessNoRemoteRead A value of true indicates that remote requests to view files are denied; only requests from the same computer as the IIS server succeed if the AccessRead property is set to true. You cannot set AccessNoRemoteRead to false to enable remote requests, and set AccessRead to false to disable local requests.
Public property AccessNoRemoteScript A value of true indicates that remote requests to view dynamic content are denied; only requests from the same computer as the IIS server succeed if the AccessScript property is set to true. You cannot set AccessNoRemoteScript to false to enable remote requests, and set AccessScript to false to disable local requests.
Public property AccessNoRemoteWrite A value of true indicates that remote requests to create or change files are denied; only requests from the same computer as the IIS server succeed if the AccessWrite property is set to true. You cannot set AccessNoRemoteWrite to false to enable remote requests, and set AccessWrite to false to disable local requests.
Public property AccessRead A value of true indicates that the file or the contents of the folder may be read through Microsoft Internet Explorer.
Public property AccessScript A value of true indicates that the file or the contents of the folder may be executed if they are script files or static content. A value of false only allows static files, such as HTML files, to be served.
Public property AccessSource A value of true indicates that users are allowed to access source code if either Read or Write permissions are set. Source code includes scripts in Microsoft ® Active Server Pages (ASP) applications.
Public property AccessSsl A value of true indicates that file access requires SSL file permission processing, with or without a client certificate.
Public property AccessSsl128 A value of true indicates that file access requires SSL file permission processing with a minimum key size of 128 bits, with or without a client certificate.
Public property AccessSslMapCert A value of true indicates that SSL file permission processing maps a client certificate to a Microsoft Windows ® operating system user-account. The AccessSslNegotiateCert property must also be set to true for the mapping to occur.
Public property AccessSslNegotiateCert A value of true indicates that SSL file access processing requests a certificate from the client. A value of false indicates that access continues if the client does not have a certificate. Some versions of Internet Explorer will close the connection if the server requests a certificate and a certificate is not available (even if AccessSslRequireCert is also set to true).
Public property AccessSslRequireCert A value of true indicates that SSL file access processing requests a certificate from the client. If the client provides no certificate, the connection is closed. AccessSslNegotiateCert must also be set to true when using AccessSSLRequireCert.
Public property AccessWrite A value of true indicates that users are allowed to upload files and their associated properties to the enabled directory on your server or to change content in a Write-enabled file. Write can be implemented only with a browser that supports the PUT feature of the HTTP 1.1 protocol standard.
Public property AnonymousPasswordSync The AnonymousPasswordSync property indicates whether IIS should handle the user password for anonymous users attempting to access resources.
Public property AppAllowClientDebug The AppAllowClientDebug property specifies whether ASP client-side debugging is enabled. This property is independent of AppAllowDebugging, which applies to server-side debugging.
Public property AppAllowDebugging The AppAllowDebugging property specifies whether ASP debugging is enabled on the server. This property is independent of the AppAllowClientDebug property, which applies to client-side debugging.
Public property AspAllowSessionState The AspAllowSessionState property enables session state persistence for the ASP application.
Public property AspBufferingOn The AspBufferingOn property specifies whether output from an ASP application will be buffered.
Public property AspEnableApplicationRestart The AspEnableApplicationRestart determines whether an ASP application can be automatically restarted. When changes are made to Global.asa or metabase properties that affect an application, the application will not restart unless the AspEnableApplicationRestart property is set to true.
Public property AspEnableAspHtmlFallback The AspEnableAspHtmlFallback property controls the behavior of ASP when a new request is to be rejected due to a full request queue.
Public property AspEnableChunkedEncoding The AspEnableChunkedEncoding property specifies whether HTTP 1.1 chunked transfer encoding is enabled for the World Wide Web Publishing Service (WWW service).
Public property AspEnableParentPaths The AspEnableParentPaths property specifies whether an ASP page allows paths relative to the current directory (using the ..\ notation) or above the current directory.
Public property AspEnableTypelibCache The AspEnableTypelibCache property specifies whether type libraries are cached on the server. The World Wide Web Publishing Service (WWW service) setting for this property is applicable to all in-process and pooled out-of-process application nodes, at all levels. Metabase settings at the Web server level or lower are ignored for in-process and pooled out-of-process applications. However, settings at the Web server level or lower are used if that node is an isolated out-of-process application.
Public property AspErrorsToNTLog The AspErrorsToNTLog property specifies which ASP errors are written to the Windows event log. ASP errors are written to the client browser and to the IIS log files by default.
Public property AspExceptionCatchEnable The AspExceptionCatchEnable property specifies whether ASP pages trap exceptions thrown by components.
Public property AspLogErrorRequests The AspLogErrorRequests property controls whether the Web server writes ASP errors to the application section of the Windows event log. ASP errors are written to the client browser and to the IIS log files by default.
Public property AspScriptErrorMessage The AspScriptErrorMessage property specifies the error message to send to the browser if specific debugging errors are not sent to the client (if AspScriptErrorSentToBrowser is set to false).
Public property AspScriptErrorSentToBrowser The AspScriptErrorSentToBrowser property specifies whether the Web server writes debugging specifics (file name, error, line number, description) to the client browser, in addition to logging them to the Windows Event Log. The AspScriptErrorMessage property provides the error message to be sent if this property is set to false.
Public property AspTrackThreadingModel The AspTrackThreadingModel property specifies whether IIS checks the threading model of any components (COM objects) that your application creates. The preferred setting of this metabase property is false.
Public property AuthAnonymous Specifies Anonymous authentication as one of the possible Windows authentication schemes returned to clients as being available.
Public property AuthBasic Specifies Basic authentication as one of the possible Windows authentication schemes returned to clients as being available.
Public property AuthNtlm Specifies Integrated Windows authentication (also known as Challenge/Response or NTLM authentication) as one of the possible Windows authentication schemes returned to clients as being available.
Public property AuthPersistSingleRequest Setting this flag to true specifies that authentication persists only for a single request on a connection. IIS resets the authentication at the end of each request, and forces re-authentication on the next request of the session.
Public property AuthPersistSingleRequestAlwaysIfProxy Setting this flag to true specifies that authentication is valid for a single request if by proxy. IIS will reset the authentication at the end of the request and force re-authentication on the next request if the current authenticated request is by proxy of any type.
Public property AuthPersistSingleRequestIfProxy Setting this flag to true specifies authentication will persist only across single requests on a connection if the connection is by proxy. IIS will reset the authentication at the end of the request if the current authenticated request is by proxy and it is not the special case where IIS is running MSPROXY.
Public property BuildEngine Gets or sets the instance of the IBuildEngine object used by the task. (inherited from Task)
Public property CacheControlNoCache The CacheControlNoCache property specifies the HTTP 1.1 directive to prevent caching of content.
Public property CacheIsapi The CacheISAPI property indicates whether ISAPI extensions are cached in memory after first use.
Public property ContentIndexed The ContentIndexed property specifies whether the installed content indexer should index content under this directory tree.
Public property CpuAppEnabled This property specifies whether process accounting and throttling should be performed for ISAPI extensions and ASP applications. To perform process accounting on CGI applications, use the property CpuCgiEnabled.
Public property CpuCgiEnabled This property indicates whether IIS should perform process accounting for CGI applications. To effectively throttle CGI applications, use the CgiTimeout property. To use process accounting for ISAPI and ASP applications, use CpuAppEnabled.
Public property CreateCgiWithNewConsole The CreateCGIWithNewConsole property indicates whether a CGI application runs in its own console.
Public property CreateProcessAsUser The CreateProcessAsUser property specifies whether a CGI process is created in the system context or in the context of the requesting user.
Public property DefaultDoc The DefaultDoc contains one or more file names of default documents that will be returned to the client if no file name is included in the client's request. The default document will be returned if the EnableDefaultDoc flag of the DirBrowseFlags property is set to true for the directory. This property can contain a list of default document file names separated by a comma and a space, for example Default.htm, Default.asp.
Public property DirBrowseShowDate When set to true, date information is displayed when browsing directories.
Public property DirBrowseShowExtension When set to true, file name extensions are displayed when browsing directories.
Public property DirBrowseShowLongDate When set to true, date information is displayed in extended format when displaying directories.
Public property DirBrowseShowSize When set to true, file size information is displayed when browsing directories.
Public property DirBrowseShowTime When set to true, file time information is displayed when displaying directories.
Public property DontLog The DontLog property specifies whether client requests are written to the IIS log files.
Public property EnableDefaultDoc When set to true, the default document (specified by the DefaultDoc property) for a directory is loaded when the directory is browsed.
Public property EnableDirBrowsing When set to true, directory browsing is enabled.
Public property EnableDocFooter The EnableDocFooter property enables or disables custom footers specified by the DefaultDocFooter property.
Public property EnableReverseDns The EnableReverseDns property enables or disables reverse Domain Name Server (DNS) lookups for the World Wide Web Publishing Service (WWW service). Reverse lookups involve looking up the domain name when the IP address is known. Reverse DNS lookups can use significant resources and time.
Public property HostObject Gets or sets the host object associated with the task. (inherited from Task)
Public property Log Gets an instance of a TaskLoggingHelper class containing task logging methods. (inherited from Task)
Public property Password Gets or sets the password for the account the task will run under. This property is needed if you specified a ServerName for a remote machine. (inherited from WebBase)
Public property ServerName Gets or sets the name of the server. The default value is 'localhost'. (inherited from WebBase)
Public property ServerPort Gets or sets the server port. (inherited from WebBase)
Public property SsiExecDisable The SSIExecDisable property specifies whether server-side include (SSI) #exec directives are disabled under this path.
Public property UncAuthenticationPassthrough The UNCAuthenticationPassthrough property enables user authentication passthrough for Universal Naming Convention (UNC) virtual root access (for authentication schemes that support delegation).
Public property Username Gets or sets the username for the account the task will run under. This property is needed if you specified a ServerName for a remote machine. (inherited from WebBase)
Public property VirtualDirectoryName Gets or sets the name of the virtual directory.
Public property VirtualDirectoryPhysicalPath Gets or sets the virtual directory physical path. The physical directory must exist before this task executes.
Top

Protected Properties

  Name Description
Family property HelpKeywordPrefix Gets or sets the prefix used to compose Help keywords from resource names. (inherited from Task)
Family property IISApplicationPath Gets or sets the application path. (inherited from WebBase)
Family property IISAppPoolPath Gets or sets the IIS application pool path. (inherited from WebBase)
Family property IISServerPath Gets or sets the IIS server path. (inherited from WebBase)
Family property TaskResources Gets or sets the culture-specific resources associated with the task. (inherited from Task)
Top

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.