PropertyDictionary.TryGetProperty(String, ISfcProperty) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與指定金鑰相關的屬性。 此類別無法獲得繼承。
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
參數
- name
- String
一個字串,代表要取得的指定屬性名稱。
- property
- ISfcProperty
取回的屬性,或若指定金鑰沒有相關屬性則為預設屬性。
傳回
true 如果找到該財產,否則 false。