Delen via


IDatabasePerformanceFacet.CollationMatchesModelOrMaster Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterDesc")> _
<DisplayNameKeyAttribute("IDatabasePerformanceFacet_CollationMatchesModelOrMasterName")> _
ReadOnly Property CollationMatchesModelOrMaster As Boolean
    Get
'Usage
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

Property Value

Type: 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.