PropertyCollection.ISfcPropertySet.TryGetPropertyValue<T> Method (String, T)

 

Tries to get the property value specified by the name parameter and type specified by the value parameter.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

bool ISfcPropertySet.TryGetPropertyValue<T><T>(
	string name,
	out T value
)

Parameters

name
Type: System.String

A string that specifies the name of the property.

value
Type: T

A pointer to the value to be returned.

Return Value

Type: System.Boolean

true if the collection contains the property value, otherwise False.

Type Parameters

T

The type of the generic property.

Return to top
Show: