共用方式為


DataSource.GetProperty Method

Definition

Overloads

GetProperty(String)

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

GetProperty(Guid, String)

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

GetProperty(String)

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

public:
 System::Object ^ GetProperty(System::String ^ name);
public object GetProperty (string name);
member this.GetProperty : string -> obj
Public Function GetProperty (name As String) As Object

Parameters

name
String

Name of the property to retrieve.

Returns

Returns the property specified by name.

Exceptions

The name parameter is null.

Applies to

GetProperty(Guid, String)

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

public:
 abstract System::Object ^ GetProperty(Guid provider, System::String ^ name);
public abstract object GetProperty (Guid provider, string name);
abstract member GetProperty : Guid * string -> obj
Public MustOverride Function GetProperty (provider As Guid, name As String) As Object

Parameters

provider
Guid

DDEX provider GUID.

name
String

Name of the property to retrieve.

Returns

Returns a property object specified by name and GUID.

Exceptions

The name parameter is null.

The provider specified is not a registered DDEX provider.

Applies to