ObjectAlreadyExistsException Constructor (String, String)
Initializes a new instance of the ObjectAlreadyExistsException class with the specified type name and facet.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
public ObjectAlreadyExistsException(
string objectType,
string objectName
)
public:
ObjectAlreadyExistsException(
String^ objectType,
String^ objectName
)
new :
objectType:string *
objectName:string -> ObjectAlreadyExistsException
Public Sub New (
objectType As String,
objectName As String
)
Parameters
objectType
Type: System.StringA String value that specifies the type of object that already exists.
objectName
Type: System.StringA String value that specifies the name of the object that already exists.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Examples
See Also
ObjectAlreadyExistsException Overload
ObjectAlreadyExistsException Class
Microsoft.SqlServer.Management.Dmf Namespace
Return to top