Share via


DataConnectionProperties.IsComplete Property

Gets a Boolean value indicating whether a given connection string is complete.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property IsComplete As Boolean
[BrowsableAttribute(false)]
public virtual bool IsComplete { get; }
[BrowsableAttribute(false)]
public:
virtual property bool IsComplete {
    bool get ();
}
[<BrowsableAttribute(false)>]
abstract IsComplete : bool with get
[<BrowsableAttribute(false)>]
override IsComplete : bool with get
function get IsComplete () : boolean

Property Value

Type: System.Boolean
true if the connection string is complete; otherwise, false.

Implements

IVsDataConnectionUIProperties.IsComplete

Remarks

A connection string is complete if it contains the elements necessary to successfully complete a valid connection to a specified data source object.

Using this property to assure that a complete set of connection properties exists for a given connection does not assure that the property values themselves are correct. That is, although this method can ascertain that, for example, a required server property is set, a user name is valid, and a password is entered, it can not validate that any of these values are correct.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace