DacType クラス

The DacType class represents the set of data-tier objects, policies, and properties developed and deployed to support a specific application.

継承階層

  Microsoft.SqlServer.Management.Dac.DacType

名前空間:  Microsoft.SqlServer.Management.Dac
アセンブリ:  Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)

構文

'宣言

Public Class DacType _
    Implements 
'使用

Dim instance As DacType
public class DacType : 
public ref class DacType : 
type DacType =  
    class
        interface 
    end
public class DacType implements 

DacType 型は、以下のメンバーを公開しています。

コンストラクター

  名前 説明
パブリック メソッド DacType() Intializes a default DacType object.
パブリック メソッド DacType(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.

先頭に戻る

プロパティ

  名前 説明
パブリック プロパティ Definition Gets an Microsoft.SqlServer.Management.SqlParser.Metadata.IServer object that represents a graph of the elements in the DAC type.
パブリック プロパティ Description Gets a System.String that describes the DAC type.
パブリック プロパティ MiscellaneousFiles Gets an enumerator that iterates through the miscellaneous files associated with the DAC type.
パブリック プロパティ Name Gets the application name of the DAC type.
パブリック プロパティ TargetSelectionPolicy Gets the server selection policy that defines the requirements an instance of the Database Engine should meet in order to host the DAC type.
パブリック プロパティ Version Gets the version of the DAC type.

先頭に戻る

メソッド

  名前 説明
パブリック メソッド ( から継承されています。)
プロテクト メソッド ( から継承されています。)
パブリック メソッド ( から継承されています。)
パブリック メソッド静的メンバー GetSchemaContentSize Gets the content size of the DAC package that is referenced by the specified stream.
パブリック メソッド ( から継承されています。)
パブリック メソッド静的メンバー Load(Stream) Deserializes the input from a System.Stream object pointing to a saved DAC type into a DacType object.
パブリック メソッド静的メンバー Load(Stream, Boolean) Deserializes the input from a System.Stream object pointing to a saved DAC type into a DacType object, with the option for loading elements other than the DAC type metadata.
プロテクト メソッド ( から継承されています。)
パブリック メソッド静的メンバー Save Serializes the contents of a DacType object into an XML stream that is sent to the specified System.Stream object.
パブリック メソッド ( から継承されています。)
パブリック メソッド静的メンバー Unpack Unpacks a DAC type into the specified folder.
パブリック メソッド静的メンバー ValidateDescription Verifies that the description of the DAC type does not exceed the maximum length.
パブリック メソッド静的メンバー ValidateName Verifies that the application name of the DAC type is not null and does not exceed the maximum length.
パブリック メソッド静的メンバー ValidateTargetSelectionPolicy Verifies that the server selection policy for the DAC type is valid.

先頭に戻る

フィールド

  名前 説明
パブリック フィールド静的メンバー PostDeploymentScriptName Specifies the name of the post deployment script.
パブリック フィールド静的メンバー PreDeploymentScriptName Specifies the name of the pre deployment script.

先頭に戻る

明示的なインターフェイスの実装

  名前 説明
明示的なインターフェイスの実装プライベート メソッド IXmlSerializableGetSchema Not implemented.
明示的なインターフェイスの実装プライベート メソッド IXmlSerializableReadXml Deserializes the DAC type properties from an XML stream. 単に情報を示すためだけに特定されます。サポートされていません。将来の互換性は保証されません。
明示的なインターフェイスの実装プライベート メソッド IXmlSerializableWriteXml Serializes the DAC type properties to an XML stream. 単に情報を示すためだけに特定されます。サポートされていません。将来の互換性は保証されません。

先頭に戻る

説明

The data-tier application (DAC) type defines the data-tier objects used by an application. It defines instance-level objects such as logins and database objects, such as tables and stored procedures. The type contains a server selection policy that specifies the requirements an instance of the SQL Server Database Engine should meet in order to host the DAC. The type also contains miscellaneous files, such as pre- and post-deployment scripts.

A DAC type is developed in two ways. It is typically authored by using a DAC project in Microsoft Visual Studio. It can also be extracted from an existing database. The DAC type is built into a DAC package, which is an XML manifest of all the elements in the type. The DAC package is used to deploy the DAC type to an instance of the Database Engine. Each deployment creates a DAC instance, which contains both the DAC type from the package, and a database created to hold the objects defined in the DAC type.

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Management.Dac 名前空間