DacExtensions.GetCollationString 方法 (BacPackage)
Gets the collation associated with the specified package.
命名空间: Microsoft.SqlServer.Dac.Extensions
程序集: Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)
语法
声明
<ExtensionAttribute> _
Public Shared Function GetCollationString ( _
package As BacPackage _
) As String
用法
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
参数
- package
类型:Microsoft.SqlServer.Dac.BacPackage
The package.
返回值
类型:System.String
The collation associated with the specified package.
用法说明
在 Visual Basic 和 C# 中,您可以对 BacPackage 类型的任何对象将此方法作为实例方法调用。在您使用实例方法语法调用此方法时,将忽略第一个参数。有关详细信息,请参阅b8020aae-374d-46a9-bcb7-8cc2390b93b6或175ce3ff-9bbf-4e64-8421-faeb81a0bb51。