Freigeben über


DataSource.GetProperty Method (String)

Retrieves a data source property stored with the data source registration entries, specifying the property by name.

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

Syntax

'Declaration
Public Function GetProperty ( _
    name As String _
) As Object
public Object GetProperty(
    string name
)
public:
Object^ GetProperty(
    String^ name
)
member GetProperty : 
        name:string -> Object 
public function GetProperty(
    name : String
) : Object

Parameters

Return Value

Type: System.Object
Returns the property specified by name.

Exceptions

Exception Condition
ArgumentNullException

The name parameter is null.

.NET Framework Security

See Also

Reference

DataSource Class

GetProperty Overload

Microsoft.VisualStudio.Data Namespace

GetProperty