共用方式為


ManagedInstance.ProductLevel 屬性

Gets the product level of the server instance.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ProductLevel As String 
    Get
'用途
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

屬性值

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

備註

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.

請參閱

參考

ManagedInstance 類別

Microsoft.SqlServer.Management.Utility 命名空間