Share via


ConflictingPropertyValuesException Constructor (String, String, String, String, String)

Initializes a new instance of the ConflictingPropertyValuesException class that has the specified message text and inner exception.

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

Syntax

'Declaration
Public Sub New ( _
    mode As String, _
    type1 As String, _
    name1 As String, _
    type2 As String, _
    name2 As String _
)
'Usage
Dim mode As String 
Dim type1 As String 
Dim name1 As String 
Dim type2 As String 
Dim name2 As String 

Dim instance As New ConflictingPropertyValuesException(mode, type1, _
    name1, type2, name2)
public ConflictingPropertyValuesException(
    string mode,
    string type1,
    string name1,
    string type2,
    string name2
)
public:
ConflictingPropertyValuesException(
    String^ mode, 
    String^ type1, 
    String^ name1, 
    String^ type2, 
    String^ name2
)
new : 
        mode:string * 
        type1:string * 
        name1:string * 
        type2:string * 
        name2:string -> ConflictingPropertyValuesException
public function ConflictingPropertyValuesException(
    mode : String, 
    type1 : String, 
    name1 : String, 
    type2 : String, 
    name2 : String
)

Parameters

  • mode
    Type: System.String
    A String value that specifies the mode that is associated with the policy.
  • type1
    Type: System.String
    A String value that specifies the object type of the first property value.
  • name1
    Type: System.String
    A String value that specifies the name of the first property value.
  • type2
    Type: System.String
    A String value that specifies the object type of the second property value.
  • name2
    Type: System.String
    A String value that specifies the name of the second property value.

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

ConflictingPropertyValuesException Class

ConflictingPropertyValuesException Overload

Microsoft.SqlServer.Management.Dmf Namespace