Export (0) Print
Expand All

ScriptNameObjectBase.GetTextProperty Method

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)

Protected Function GetTextProperty ( _
	requestingProperty As String _
) As String
Dim requestingProperty As String 
Dim returnValue As String 

returnValue = Me.GetTextProperty(requestingProperty)


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

Return Value

Type: String
The text property of the object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft