共用方式為


PropertyNotSetException Class

Definition

The exception thrown when an action requires a property that has not been set by the user.

[System.Serializable]
public sealed class PropertyNotSetException : Microsoft.SqlServer.Management.Smo.SmoException
[<System.Serializable>]
type PropertyNotSetException = class
    inherit SmoException
Public NotInheritable Class PropertyNotSetException
Inherits SmoException
Inheritance
Attributes

Constructors

PropertyNotSetException()

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyNotSetException.

PropertyNotSetException(String, Exception)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyNotSetException.

PropertyNotSetException(String)

Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyNotSetException.

Properties

HelpLink

Gets a link as string to the support web site.

(Inherited from SmoException)
Message

Gets the message from the exception as a string.

PropertyName
SmoExceptionType

Gets the type of exception from the T:Microsoft.SqlServer.Management.Smo.SmoExceptionType enumeration.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialization helper method.

SetHelpContext(String) (Inherited from SmoException)

Applies to