DacExtensions.GetCollationString 方法 (DacPackage)
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 DacPackage _
) As String
'用途
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
參數
- package
型別:Microsoft.SqlServer.Dac.DacPackage
The package.
傳回值
型別:System.String
The collation associated with the specified package.
使用注意事項
在 Visual Basic 及 C# 中,您可以在任何型別 DacPackage 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 b8020aae-374d-46a9-bcb7-8cc2390b93b6 或 175ce3ff-9bbf-4e64-8421-faeb81a0bb51。