ScriptNameObjectBase.GetTextProperty 方法
Gets the text of the object, if not available, throw appropriate exception based on the state of the object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Protected Function GetTextProperty ( _
requestingProperty As String _
) As String
'用途
Dim requestingProperty As String
Dim returnValue As String
returnValue = Me.GetTextProperty(requestingProperty)
protected string GetTextProperty(
string requestingProperty
)
protected:
String^ GetTextProperty(
String^ requestingProperty
)
member GetTextProperty :
requestingProperty:string -> string
protected function GetTextProperty(
requestingProperty : String
) : String
參數
- requestingProperty
型別:System.String
The name of the property that should appear in the exception as failed to be retrieved.
傳回值
型別:System.String
The text property of the object.