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 命名空间