Partager via


Propriété Version

Specifies the version 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 Version As String
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .String
A String containing the version of the server instance.