Partager via


DacStore.Import Method (, DatabaseDeploymentProperties, )

Imports a DAC object with specified deployment properties, path, and validation.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Déclaration
Public Sub Import ( _
    path As String, _
    deploymentProperties As DatabaseDeploymentProperties, _
    skipPolicyValidation As Boolean _
)
'Utilisation
Dim instance As DacStore
Dim path As String
Dim deploymentProperties As DatabaseDeploymentProperties
Dim skipPolicyValidation As Boolean

instance.Import(path, deploymentProperties, _
    skipPolicyValidation)
public void Import(
    string path,
    DatabaseDeploymentProperties deploymentProperties,
    bool skipPolicyValidation
)
public:
void Import(
    String^ path, 
    DatabaseDeploymentProperties^ deploymentProperties, 
    bool skipPolicyValidation
)
member Import : 
        path:string * 
        deploymentProperties:DatabaseDeploymentProperties * 
        skipPolicyValidation:bool -> unit 
public function Import(
    path : String, 
    deploymentProperties : DatabaseDeploymentProperties, 
    skipPolicyValidation : boolean
)

Parameters

  • path
    Type: String
    The path of the specified DacStore object.
  • skipPolicyValidation
    Type: Boolean
    true if the method skips policy validation; otherwise, false.

See Also

Reference

DacStore Class

Import Overload

Microsoft.SqlServer.Management.Dac Namespace