Partager via


Propriété ManagedInstance.ProductLevel

Gets the product level of the server instance.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ProductLevel As String 
    Get
'Utilisation
Dim instance As ManagedInstance 
Dim value As String 

value = instance.ProductLevel
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string ProductLevel { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ ProductLevel {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ProductLevel : string
function get ProductLevel () : String

Valeur de propriété

Type : System.String
A String value that specifies the level of the server instance version.

Notes

This property returns "RTM" if the instance is the original release version, "SPn" if the instance is a service patch version, or "CTP" if it is a community technology preview version.

Voir aussi

Référence

ManagedInstance Classe

Espace de noms Microsoft.SqlServer.Management.Utility