ObjectValidationException.ObjectType Property

 

Gets the type of the object that encountered an error during validation.

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

Syntax

public string ObjectType { get; }
public:
property String^ ObjectType {
    String^ get();
}
member ObjectType : string with get
Public ReadOnly Property ObjectType As String

Property Value

Type: System.String

A String value that specifies the type of object that encountered an error during validation.

Remarks

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

Examples

Handling SMO Exceptions

See Also

ObjectValidationException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top