Share via


DacStore.Import Method (Stream, DatabaseDeploymentProperties, Boolean)

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

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

Syntax

'Declaration
Public Sub Import ( _
    stream As Stream, _
    deploymentProperties As DatabaseDeploymentProperties, _
    skipPolicyValidation As Boolean _
)
'Usage
Dim instance As DacStore
Dim stream As Stream
Dim deploymentProperties As DatabaseDeploymentProperties
Dim skipPolicyValidation As Boolean

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

Parameters

  • skipPolicyValidation
    Type: System.Boolean
    True if the method skips policy validation; otherwise, false.

See Also

Reference

DacStore Class

Import Overload

Microsoft.SqlServer.Management.Dac Namespace