FunctionNotASmoObjectException.TargetType Property

Gets the type of object that is associated with the exception.

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

Syntax

'Declaration
Public ReadOnly Property TargetType As String 
    Get
'Usage
Dim instance As FunctionNotASmoObjectException 
Dim value As String 

value = instance.TargetType
public string TargetType { get; }
public:
property String^ TargetType {
    String^ get ();
}
member TargetType : string
function get TargetType () : String

Property Value

Type: System.String
A String value that specifies the type of object that is associated with the exception.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

Reference

FunctionNotASmoObjectException Class

Microsoft.SqlServer.Management.Dmf Namespace