ディクショナリに配置構成を追加します。 このメソッドを使用して追加された配置構成は、プロジェクト ファイルまたはユーザー ファイルに格納されません。
名前空間: Microsoft.VisualStudio.SharePoint.Deployment
アセンブリ: Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)
構文
'宣言
Function Add ( _
name As String, _
deploymentSteps As IEnumerable(Of String), _
retractionSteps As IEnumerable(Of String) _
) As IDeploymentConfiguration
IDeploymentConfiguration Add(
string name,
IEnumerable<string> deploymentSteps,
IEnumerable<string> retractionSteps
)
パラメーター
- name
型: System.String
配置構成の名前。
- deploymentSteps
型: System.Collections.Generic.IEnumerable<String>
配置構成の配置の操作の一部として行われる手順。
- retractionSteps
型: System.Collections.Generic.IEnumerable<String>
配置構成の取り消し操作の一部として行われる手順。
戻り値
型: Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
作成された配置構成。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。