ScriptNameObjectBase.GetTextProperty Method (String)


Gets the text of the object, if not available, throw appropriate exception based on the state of the object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

member GetTextProperty : 
        requestingProperty:string -> string


Type: System.String

The name of the property that should appear in the exception as failed to be retrieved.

Return Value

Type: System.String

The text property of the object.

Return to top