Share via


Version 屬性

取得 Version 屬性值。

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

語法

'宣告
<SfcSerializationAdapterAttribute(GetType(VersionSerializationAdapter))> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property Version As Version
    Get
    Friend Set
'用途
Dim instance As Server
Dim value As Version

value = instance.Version
[SfcSerializationAdapterAttribute(typeof(VersionSerializationAdapter))]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public Version Version { get; internal set; }
[SfcSerializationAdapterAttribute(typeof(VersionSerializationAdapter))]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property Version^ Version {
    Version^ get ();
    internal: void set (Version^ value);
}
[<SfcSerializationAdapterAttribute(typeof(VersionSerializationAdapter))>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member Version : Version with get, internal set
function get Version () : Version
internal function set Version (value : Version)

屬性值

型別:System. . :: . .Version
版本物件。