Поделиться через


Метод 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.

См. также

Справочник

ScriptNameObjectBase Класс

Пространство имен Microsoft.SqlServer.Management.Smo