PropertyCollection.ISfcPropertySet.TryGetProperty Method (String, ISfcProperty)

 

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

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

bool ISfcPropertySet.TryGetProperty(
	string name,
	out ISfcProperty property
)

Parameters

name
Type: System.String

A string value that specifies the name of the property.

property
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty

A pointer to an ISfcProperty object.

Return Value

Type: System.Boolean

A Boolean value, True if the collection contains the property, otherwise False.

Return to top
Show: