Sdílet prostřednictvím


ObjectAlreadyExistsException.ObjectType Property

Gets the type of object that already exists.

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

Syntax

'Declaration
Public ReadOnly Property ObjectType As String 
    Get
'Usage
Dim instance As ObjectAlreadyExistsException 
Dim value As String 

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

Property Value

Type: System.String
A String value that specifies type of object that already exists.

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

ObjectAlreadyExistsException Class

Microsoft.SqlServer.Management.Dmf Namespace