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
'Déclaration
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
- name
Type: System.String
Name of the property to retrieve.
Return Value
Type: System.Object
Returns the property specified by name.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
.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.