次の方法で共有


IDeploymentConfigurationDictionary.Add メソッド (String, IEnumerable<String>, IEnumerable<String>)

ディクショナリに配置構成を追加します。 このメソッドを使用して追加された配置構成は、プロジェクト ファイルまたはユーザー ファイルに格納されません。

名前空間:  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
)

パラメーター

戻り値

型: Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
作成された配置構成。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IDeploymentConfigurationDictionary インターフェイス

Add オーバーロード

Microsoft.VisualStudio.SharePoint.Deployment 名前空間