Share via


DataSource.GetProperty Method (Guid, String)

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

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

Syntax

'Declaration
Public MustOverride Function GetProperty ( _
    provider As Guid, _
    name As String _
) As Object
public abstract Object GetProperty(
    Guid provider,
    string name
)
public:
virtual Object^ GetProperty(
    Guid provider, 
    String^ name
) abstract
abstract GetProperty : 
        provider:Guid * 
        name:string -> Object
public abstract function GetProperty(
    provider : Guid, 
    name : String
) : Object

Parameters

Return Value

Type: System.Object
Returns a property object specified by name and GUID.

Exceptions

Exception Condition
ArgumentNullException

The name parameter is null.

ArgumentException

The provider specified is not a registered DDEX provider.

.NET Framework Security

See Also

Reference

DataSource Class

GetProperty Overload

Microsoft.VisualStudio.Data Namespace

GetProperty