Freigeben über


ConflictingPropertyValuesException-Konstruktor (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
)

Parameter

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

ConflictingPropertyValuesException Klasse

ConflictingPropertyValuesException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace