DacExtensions.GetCollationString Method (DacPackage)

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 DacPackage _
) As String
'Usage
Dim package As DacPackage 
Dim returnValue As String 

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

Parameters

Return Value

Type: 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 DacPackage. When you use instance method syntax to call this method, omit the first parameter. For more information, see b8020aae-374d-46a9-bcb7-8cc2390b93b6 or 175ce3ff-9bbf-4e64-8421-faeb81a0bb51.

See Also

Reference

DacExtensions Class

GetCollationString Overload

Microsoft.SqlServer.Dac.Extensions Namespace