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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataSourceVersionComparer Class