DacExtensions.GetCollationString Method (BacPackage)

Gets the collation associated with the specified package.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetCollationString ( _
    package As BacPackage _
) As String
'Usage
Dim package As BacPackage 
Dim returnValue As String 

returnValue = package.GetCollationString()
public static string GetCollationString(
    this BacPackage package
)
[ExtensionAttribute]
public:
static String^ GetCollationString(
    BacPackage^ package
)
static member GetCollationString : 
        package:BacPackage -> string
public static function GetCollationString(
    package : BacPackage
) : String

Parameters

Return Value

Type: System.String
The collation associated with the specified package.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BacPackage. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=sql.110) or https://msdn.microsoft.com/en-us/library/bb383977(v=sql.110).

See Also

Reference

DacExtensions Class

GetCollationString Overload

Microsoft.SqlServer.Dac.Extensions Namespace