Sdílet prostřednictvím


TargetSetCountMismatchException.ObjectSetName Property

Gets the target set that is referenced by the exception.

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

Syntax

'Declaration
Public ReadOnly Property ObjectSetName As String 
    Get
'Usage
Dim instance As TargetSetCountMismatchException 
Dim value As String 

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

Property Value

Type: System.String
A String value that specifies the target set that is referenced by the exception.

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

TargetSetCountMismatchException Class

Microsoft.SqlServer.Management.Dmf Namespace