Méthode DacExtensions.GetCollationString (BacPackage)
Gets the collation associated with the specified package.
Espace de noms : Microsoft.SqlServer.Dac.Extensions
Assembly : Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)
Syntaxe
'Déclaration
<ExtensionAttribute> _
Public Shared Function GetCollationString ( _
package As BacPackage _
) As String
'Utilisation
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
Paramètres
- package
Type : Microsoft.SqlServer.Dac.BacPackage
The package.
Valeur de retour
Type : System.String
The collation associated with the specified package.
Remarque relative à l'utilisation
En Visual Basic et C#, vous pouvez appeler cette méthode comme méthode d'instance sur tout objet de type BacPackage. Lorsque vous utilisez la syntaxe de la méthode d'instance pour appeler cette méthode, omettez le premier paramètre. Pour plus d'informations, consultez b8020aae-374d-46a9-bcb7-8cc2390b93b6 ou 175ce3ff-9bbf-4e64-8421-faeb81a0bb51.