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);

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);

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