Share via


DacCompilationUnit.DatabaseCollation Property

Gets or sets the database collation used for the compile.

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

Syntax

'Declaration
Public Property DatabaseCollation As String
    Get
    Set
'Usage
Dim instance As DacCompilationUnit
Dim value As String

value = instance.DatabaseCollation

instance.DatabaseCollation = value
public string DatabaseCollation { get; set; }
public:
property String^ DatabaseCollation {
    String^ get ();
    void set (String^ value);
}
member DatabaseCollation : string with get, set
function get DatabaseCollation () : String
function set DatabaseCollation (value : String)

Property Value

Type: System.String
A String value specifying the database collation used when compiling the Transact-SQL scripts into a DAC type.

See Also

Reference

DacCompilationUnit Class

Microsoft.SqlServer.Management.Dac Namespace