Dela via


DacType Constructor (IServer, String, Version, String, Policy, MiscellaneousFilesCollection)

Initializes a new instance of the DacType class with the specified definition, name, version, description, server selection policy, and set of miscellaneous files.

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

Syntax

'Declaration
Public Sub New ( _
    definition As IServer, _
    name As String, _
    version As Version, _
    description As String, _
    targetSelectionPolicy As Policy, _
    miscellaneousFiles As MiscellaneousFilesCollection _
)
'Usage
Dim definition As IServer
Dim name As String
Dim version As Version
Dim description As String
Dim targetSelectionPolicy As Policy
Dim miscellaneousFiles As MiscellaneousFilesCollection

Dim instance As New DacType(definition, _
    name, version, description, targetSelectionPolicy, _
    miscellaneousFiles)
public DacType(
    IServer definition,
    string name,
    Version version,
    string description,
    Policy targetSelectionPolicy,
    MiscellaneousFilesCollection miscellaneousFiles
)
public:
DacType(
    IServer^ definition, 
    String^ name, 
    Version^ version, 
    String^ description, 
    Policy^ targetSelectionPolicy, 
    MiscellaneousFilesCollection^ miscellaneousFiles
)
new : 
        definition:IServer * 
        name:string * 
        version:Version * 
        description:string * 
        targetSelectionPolicy:Policy * 
        miscellaneousFiles:MiscellaneousFilesCollection -> DacType
public function DacType(
    definition : IServer, 
    name : String, 
    version : Version, 
    description : String, 
    targetSelectionPolicy : Policy, 
    miscellaneousFiles : MiscellaneousFilesCollection
)

Parameters