DacExtensions.GetCollationString Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetCollationString(BacPackage) |
Returns the database collation for the package. |
GetCollationString(DacPackage) |
Returns the database collation for the package. |
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
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.