DataBus::TryGetPropertyValue<T> Method (String^, T%)

 

Attempts to get the property value with a specified name and type.

Namespace:   Microsoft.SqlServer.Management.Data
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

public:
generic<typename T>
virtual bool TryGetPropertyValue(
	String^ name,
	[OutAttribute] T% value
) sealed

Parameters

name
Type: System::String^

A string that represents a name.

value
Type: T%

The property type (can be null).

Return Value

Type: System::Boolean

true if success; otherwise, false.

Return to top
Show: