Udostępnij za pośrednictwem


Metoda IDeploymentConfigurationDictionary.Add — (String, IEnumerable<String>, IEnumerable<String>)

Dodaje konfigurację wdrożenia do słownika.Konfiguracja wdrażania dodane przy użyciu tej metody nie jest przechowywana w pliku projektu lub plik użytkownika.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint.Deployment
Zestaw:  Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)

Składnia

'Deklaracja
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
)

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentConfiguration
Konfiguracja wdrożenia, został utworzony.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IDeploymentConfigurationDictionary Interfejs

Przeciążenie Add

Przestrzeń nazw Microsoft.VisualStudio.SharePoint.Deployment