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
Get
[BrowsableAttribute(false)]
public virtual bool IsComplete { get; }
[BrowsableAttribute(false)]
public:
virtual property bool IsComplete {
bool get ();
}
[<BrowsableAttribute(false)>]
abstract IsComplete : bool
[<BrowsableAttribute(false)>]
override IsComplete : bool
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
- 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.