共用方式為


SPWebApplicationBuilder members

Include protected members
Include inherited members

會建立SPWebApplication物件,此物件提供的所有必要的值 ; 預設設定如此一來,來電者必須只會不同的屬性值從預設的變更。

The SPWebApplicationBuilder type exposes the following members.

Constructors

  Name Description
Public method SPWebApplicationBuilder 初始化使用預設 Web 應用程式設定SPWebApplicationBuilder類別的新執行個體。

Top

Properties

  Name Description
Public property AllowAnonymousAccess 取得或設定 Boolean 值,指定新的 Web 應用程式是否允許匿名存取。
Public property ApplicationPoolId 取得或設定新的或現有的應用程式集區的識別碼。
Public property ApplicationPoolPassword 取得或設定新的應用程式集區的 Web 應用程式所使用的密碼。
Public property ApplicationPoolUsername 取得或設定新的應用程式集區的 Web 應用程式所使用的使用者名稱。
Public property AutomaticallyResetDefaultsAfterCreation 取得或設定 Boolean 值,指定是否要在呼叫Create方法之後,重設的預設值。
Public property CreateNewDatabase 取得或設定 Boolean 值,指定是否要建立新的內容資料庫的 Web 應用程式。
Public property DatabaseName 取得或設定要用於新的內容資料庫的名稱。
Public property DatabasePassword 取得或設定要用於新的內容資料庫的 SQL 驗證密碼。
Public property DatabaseServer 取得或設定資料庫伺服器名稱和要用於新的內容資料庫執行個體。
Public property DatabaseUsername 取得或設定要用於新的內容資料庫的 SQL 驗證使用者名稱。
Public property DefaultZoneUri 取得或設定要使用預設區域的負載平衡 URI。
Public property HostHeader 取得或設定新的 Iis 網站的 Web 應用程式的選用網際網路資訊服務 (IIS) 主機標頭。
Public property Id 取得或設定的 Web 應用程式的識別碼。
Public property IdentityType 取得或設定 Web 應用程式所使用的應用程式集區的程序識別型別。
Public property ManagedAccount 取得或設定受管理的帳戶,以指定ApplicationPoolUsernameApplicationPoolPassword認證。
Public property Port 取得或設定新的 Web 應用程式的連接埠。
Public property RootDirectory 取得或設定在要安裝新的 Web 應用程式的靜態檔案例如 Web.config 檔案系統目錄。
Public property SearchServiceInstance 取得或設定用來編目新的內容資料庫的 search service 執行個體。
Public property ServerComment 取得或設定新的或現有的 Web 應用程式的伺服器註解。
Public property UseNTLMExclusively 取得或設定 Boolean 值,以指定是否新網際網路資訊服務 (IIS) 網站架設的 Web 應用程式設定為使用 NT LAN Manager 的僅限 (NTLM) 進行驗證,與因此已停用的 Kerberos 驗證。
Public property UseSecureSocketsLayer 取得或設定 Boolean 值,指定新網際網路資訊服務 (IIS) 網站架設的 Web 應用程式是否設定為使用 SSL。
Public property WebService 取得或設定父項的 Web 應用程式的 Web 服務。

Top

Methods

  Name Description
Public method Create 會建立新的 Web 應用程式,使用已提供此建立器來設定。
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 初始化的所有值的最佳的預設值具有可決定該SharePoint Foundation 。
Public method ToString (Inherited from Object.)

Top

請參閱

參照

SPWebApplicationBuilder class

Microsoft.SharePoint.Administration namespace