Share via


DataConnectionProperties.IsComplete Property

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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
Returns true if the connection string is complete; otherwise returns false.

Implements

IDataConnectionProperties.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, while this method can ascertain that, for example, a required server property is set, a user name is valid, and that 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 Namespace