Compartilhar via


IVsDataConnectionUIProperties.IsComplete Property

When implemented by a class, gets a value indicating whether a given connection string is complete.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
ReadOnly Property IsComplete As Boolean
bool IsComplete { get; }
property bool IsComplete {
    bool get ();
}
abstract IsComplete : bool with get
function get IsComplete () : boolean

Property Value

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

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 ensure 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 cannot validate that any of these values are correct.

.NET Framework Security

See Also

Reference

IVsDataConnectionUIProperties Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace