Compartir a través de


DataSourceVersionComparer.SourceVersion Property

Gets the data source version from the sited connection, if any.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected ReadOnly Property SourceVersion As String
protected string SourceVersion { get; }
protected:
property String^ SourceVersion {
    String^ get ();
}
member SourceVersion : string with get
function get SourceVersion () : String

Property Value

Type: System.String
A String value representing the data source version, or nulla null reference (Nothing in Visual Basic) if no source version can be obtained.

Remarks

This method obtains the data source version by retrieving the DataSourceVersion property from the IVsDataSourceInformation service on the sited IVsDataConnection object.

.NET Framework Security

See Also

Reference

DataSourceVersionComparer Class

Microsoft.VisualStudio.Data.Framework Namespace

DataSourceVersion