ObjectPropertyProvider.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