InvalidSmoOperationException Class
The InvalidSmoOperationException class represents the exception raised when an SMO operation is not valid.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.InvalidSmoOperationException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<SerializableAttribute> _
Public NotInheritable Class InvalidSmoOperationException _
Inherits SmoException
'Kullanım
Dim instance As InvalidSmoOperationException
[SerializableAttribute]
public sealed class InvalidSmoOperationException : SmoException
[SerializableAttribute]
public ref class InvalidSmoOperationException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type InvalidSmoOperationException =
class
inherit SmoException
end
public final class InvalidSmoOperationException extends SmoException
The InvalidSmoOperationException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InvalidSmoOperationException() | Initializes a new instance of the InvalidSmoOperationException class. | |
InvalidSmoOperationException(String) | Initializes a new instance of the InvalidSmoOperationException class with the specified message. | |
InvalidSmoOperationException(String, SqlSmoState) | Initializes a new instance of the InvalidSmoOperationException class with the specified message and SMO state. | |
InvalidSmoOperationException(String, Exception) | Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | Gets the message associated with the Invalid SMO Operation exception. (Overrides Exception.Message.) | |
SmoExceptionType | Gets the type of the SMO exception. (Overrides SmoException.SmoExceptionType.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo object with the data needed to serialize the target object. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Inherited from SmoException.) | |
ToString | (Inherited from Exception.) |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Examples
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.