共用方式為


Version 屬性

Specifies the version of the server instance.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property Version As String
    Get
'用途
Dim instance As ManagedInstance
Dim value As String

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

屬性值

型別:System. . :: . .String
A String containing the version of the server instance.