共用方式為


IDatabasePerformanceFacet.CollationMatchesModelOrMaster 屬性

Gets a value that indicates whether the collation of the database matches the master or model database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterDesc")> _
<DisplayNameKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterName")> _
ReadOnly Property CollationMatchesModelOrMaster As Boolean 
    Get
'用途
Dim instance As IDatabasePerformanceFacet 
Dim value As Boolean 

value = instance.CollationMatchesModelOrMaster
[DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterDesc")]
[DisplayNameKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterName")]
bool CollationMatchesModelOrMaster { get; }
[DisplayDescriptionKeyAttribute(L"IDatabasePerformanceFacet_CollationMatchesModelOrMasterDesc")]
[DisplayNameKeyAttribute(L"IDatabasePerformanceFacet_CollationMatchesModelOrMasterName")]
property bool CollationMatchesModelOrMaster {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterDesc")>]
[<DisplayNameKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterName")>]
abstract CollationMatchesModelOrMaster : bool
function get CollationMatchesModelOrMaster () : boolean

屬性值

型別:System.Boolean
A Boolean value indicating whether the database collation matches the master or model database. Returns True if the database collation does match master or model database; otherwise, False.

請參閱

參考

IDatabasePerformanceFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間