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
版本对象。