PropertyReadOnlyException.PropertyName Property

Gets the name of the property that is read-only.

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

Syntax

'Declaration
Public ReadOnly Property PropertyName As String 
    Get
'Usage
Dim instance As PropertyReadOnlyException 
Dim value As String 

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

Property Value

Type: System.String
A String that specifies the name of the property that is read-only.

Examples

Handling SMO Exceptions

See Also

Reference

PropertyReadOnlyException Class

Microsoft.SqlServer.Management.Smo Namespace