DacProfile Class

Contains settings related to a specific deployment configuration.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.DacProfile

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

Syntax

'Declaration
Public NotInheritable Class DacProfile
'Usage
Dim instance As DacProfile
public sealed class DacProfile
public ref class DacProfile sealed
[<SealedAttribute>]
type DacProfile =  class end
public final class DacProfile

The DacProfile type exposes the following members.

Constructors

  Name Description
Public method DacProfile Construct a new instance of the DacProfile class with a default set of deployment options.

Top

Properties

  Name Description
Public property DeployOptions Get deployment options associated with this profile.
Public property TargetConnectionString Get or set connection string for database server used as the target of a deployment.
Public property TargetDatabaseName Get or set name of database used as the target of a deployment.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member Load(Stream) Create a DacProfile instance by reading serialized profile data from the specified DacProfile.
Public methodStatic member Load(String) Create a DacProfile instance by reading serialized profile data from the specified file.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac Namespace