مشاركة عبر


Information.ResourceVersionString Property

Gets the version of the SQL Server resource in string format.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ResourceVersionString As String 
    Get
'Usage
Dim instance As Information 
Dim value As String 

value = instance.ResourceVersionString
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string ResourceVersionString { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ ResourceVersionString {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member ResourceVersionString : string
function get ResourceVersionString () : String

Property Value

Type: System.String
A String value that specifies the version of the SQL Server resource.

Examples

Configuring SQL Server in SMO

See Also

Reference

Information Class

Microsoft.SqlServer.Management.Smo Namespace