次の方法で共有


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
Version オブジェクトです。