Share via


ObjectValidationException.ObjectName Property

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

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

Syntax

'Declaration
Public ReadOnly Property ObjectName As String 
    Get
'Usage
Dim instance As ObjectValidationException 
Dim value As String 

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

Property Value

Type: System.String
A String value that specifies the name of the 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

Reference

ObjectValidationException Class

Microsoft.SqlServer.Management.Dmf Namespace