PropertyDictionary.TryGetProperty(String, ISfcProperty) Method

Definition

Retrieves the property associated with the specified key. This class cannot be inherited.

public:
 virtual bool TryGetProperty(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ % property);
public bool TryGetProperty (string name, out Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
abstract member TryGetProperty : string * ISfcProperty -> bool
override this.TryGetProperty : string * ISfcProperty -> bool
Public Function TryGetProperty (name As String, ByRef property As ISfcProperty) As Boolean

Parameters

name
String

A string that represents the name of the specified property to get.

property
ISfcProperty

The retrieved property, or default if there is no property associated with the specified key.

Returns

true if the property was found, otherwise false.

Implements

Applies to