IDeploymentConfigurationDictionary.Add 方法 (String)
將部署組態加入至字典。使用這個方法所加入的部署組態不會儲存在專案檔或使用者檔案中。
命名空間: Microsoft.VisualStudio.SharePoint.Deployment
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Function Add ( _
name As String _
) As IDeploymentConfiguration
IDeploymentConfiguration Add(
string name
)
參數
- name
型別:System.String
部署組態的名稱。
傳回值
型別:Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
已建立的部署組態。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。