Condividi tramite


DacExtensions.GetCollationString Method

Definition

Overloads

GetCollationString(BacPackage)

Returns the database collation for the package.

GetCollationString(DacPackage)

Returns the database collation for the package.

GetCollationString(BacPackage)

Returns the database collation for the package.

public static string GetCollationString (this Microsoft.SqlServer.Dac.BacPackage package);
static member GetCollationString : Microsoft.SqlServer.Dac.BacPackage -> string
<Extension()>
Public Function GetCollationString (package As BacPackage) As String

Parameters

package
BacPackage

BacPackage containing collation information.

Returns

The SQL Server collation string, or null if the collation cannot be retrieved.

Exceptions

If the value for any of the required parameters is a null reference.

Applies to

GetCollationString(DacPackage)

Returns the database collation for the package.

public static string GetCollationString (this Microsoft.SqlServer.Dac.DacPackage package);
static member GetCollationString : Microsoft.SqlServer.Dac.DacPackage -> string
<Extension()>
Public Function GetCollationString (package As DacPackage) As String

Parameters

package
DacPackage

DacPackage containing collation information.

Returns

The SQL Server collation string, or null if the collation cannot be retrieved.

Exceptions

If the value for any of the required parameters is a null reference.

Applies to