Partager via


DataConnectionProperties.GetBasicProperties Method

Retrieves an array of property names representing the set of "basic" properties known by the current DataConnectionProperties instance.

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

Syntax

'Declaration
Public Overridable Function GetBasicProperties As String()
public virtual string[] GetBasicProperties()
public:
virtual array<String^>^ GetBasicProperties()
abstract GetBasicProperties : unit -> string[] 
override GetBasicProperties : unit -> string[] 
public function GetBasicProperties() : String[]

Return Value

Type: array<System.String[]
Returns the set of "basic" properties associated with the current DataConnectionProperties instance.

Remarks

A "basic" property is a property considered to be a fundamental requirement, or one most often set. An example would be a server name property for a data provider that only connects to remote machines.

The base implementation examines all the known properties for those that have their IsBasicProperty attribute set to true.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace