次の方法で共有


SPWebApplicationBuilder members

Creates an SPWebApplication object, which provides default settings for all the required values; that way, the caller must only change the property values that vary from the default.

The SPWebApplicationBuilder type exposes the following members.

Constructors

  Name Description
Public method SPWebApplicationBuilder Initializes a new instance of the SPWebApplicationBuilder class using the default Web application settings.

Top

Properties

  Name Description
Public property AllowAnonymousAccess Gets or sets a Boolean value that specifies whether the new Web application allows anonymous access.
Public property ApplicationPoolId Gets or sets the ID of the new or existing application pool.
Public property ApplicationPoolPassword Gets or sets the password for the new application pool that is used by the Web application.
Public property ApplicationPoolUsername Gets or sets the user name for the new application pool that is used by the Web application.
Public property AutomaticallyResetDefaultsAfterCreation Gets or sets a Boolean value that specifies whether to reset the default values after the Create method is called.
Public property CreateNewDatabase Gets or sets a Boolean value that specifies whether to create a new content database for the Web application.
Public property DatabaseName Gets or sets the name to be used for a new content database.
Public property DatabasePassword Gets or sets the SQL authentication password to be used for a new content database.
Public property DatabaseServer Gets or sets the database server name and instance to be used for a new content database.
Public property DatabaseUsername Gets or sets the SQL authentication user name to be used for a new content database.
Public property DefaultZoneUri Gets or sets the load-balanced URI to use for the default zone.
Public property HostHeader Gets or sets an optional Internet Information Services (IIS) host header for the new IIS Web site of the Web application.
Public property Id Gets or sets the ID of the Web application.
Public property IdentityType Gets or sets the process identity type of the application pool that is used by the Web application.
Public property ManagedAccount Gets or sets a managed account to specify the ApplicationPoolUsername and ApplicationPoolPassword credentials.
Public property Port Gets or sets the port of the new Web application.
Public property RootDirectory Gets or sets the file system directory in which to install static files such as Web.config for the new Web application.
Public property SearchServiceInstance Gets or sets the search service instance that is used to crawl the new content database.
Public property ServerComment Gets or sets the server comment for a new or existing Web application.
Public property UseNTLMExclusively Gets or sets a Boolean value that specifies whether the new Internet Information Services (IIS) Web site that hosts the Web application is configured to use only NT LAN Manager (NTLM) for authentication and therefore that Kerberos authentication is disabled.
Public property UseSecureSocketsLayer Gets or sets a Boolean value that specifies whether the new Internet Information Services (IIS) Web site that hosts the Web application is configured to use SSL.
Public property WebService Gets or sets the parent Web service for the Web application.

Top

Methods

  Name Description
Public method Create Creates a new Web application using the settings that have been provided to this builder.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ResetDefaults Initializes all values with the best defaults that SharePoint Foundation can determine.
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPWebApplicationBuilder class

Microsoft.SharePoint.Administration namespace