다음을 통해 공유


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 네임스페이스