MSDeploy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MSDeploy() |
Initializes a new instance of the MSDeploy class. |
MSDeploy(String, String, String, String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the MSDeploy class. |
MSDeploy()
Initializes a new instance of the MSDeploy class.
public MSDeploy ();
Public Sub New ()
Applies to
MSDeploy(String, String, String, String, String, String, String, String, IDictionary<String,String>, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the MSDeploy class.
public MSDeploy (string id = default, string name = default, string kind = default, string type = default, string packageUri = default, string connectionString = default, string dbType = default, string setParametersXmlFileUri = default, System.Collections.Generic.IDictionary<string,string> setParameters = default, bool? skipAppData = default, bool? appOffline = default);
new Microsoft.Azure.Management.WebSites.Models.MSDeploy : string * string * string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.WebSites.Models.MSDeploy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional packageUri As String = Nothing, Optional connectionString As String = Nothing, Optional dbType As String = Nothing, Optional setParametersXmlFileUri As String = Nothing, Optional setParameters As IDictionary(Of String, String) = Nothing, Optional skipAppData As Nullable(Of Boolean) = Nothing, Optional appOffline As Nullable(Of Boolean) = Nothing)
Parameters
- id
- String
Resource Id.
- name
- String
Resource Name.
- kind
- String
Kind of resource.
- type
- String
Resource type.
- packageUri
- String
Package URI
- connectionString
- String
SQL Connection String
- dbType
- String
Database Type
- setParametersXmlFileUri
- String
URI of MSDeploy Parameters file. Must not be set if SetParameters is used.
- setParameters
- IDictionary<String,String>
MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used.
Controls whether the MSDeploy operation skips the App_Data directory. If set to <code>true</code>, the existing App_Data directory on the destination will not be deleted, and any App_Data directory in the source will be ignored. Setting is <code>false</code> by default.
Sets the AppOffline rule while the MSDeploy operation executes. Setting is <code>false</code> by default.