Share via


SfcObjectNotScriptableException Class

The exception that is thrown when a script operating is attempted on an object that does not support scripting. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc.SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectNotScriptableException

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SfcObjectNotScriptableException _
    Inherits SfcException
'Usage
Dim instance As SfcObjectNotScriptableException
[SerializableAttribute]
public sealed class SfcObjectNotScriptableException : SfcException
[SerializableAttribute]
public ref class SfcObjectNotScriptableException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcObjectNotScriptableException =  
    class 
        inherit SfcException 
    end
public final class SfcObjectNotScriptableException extends SfcException

The SfcObjectNotScriptableException type exposes the following members.

Constructors

  Name Description
Public method SfcObjectNotScriptableException() Initializes a new instance of the SfcObjectNotScriptableException class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SfcObjectNotScriptableException(String) Initializes a new instance of the SfcObjectNotScriptableException class with the specified error message. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SfcObjectNotScriptableException(String, Exception) Initializes a new instance of the SfcObjectNotScriptableException class with the specified error message and a reference to the inner exception that is the cause of this exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink Gets a link to the help file associated with this exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcException.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method SetHelpContext Sets the help context value for the referenced exception. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcException.)
Public method ToString (Inherited from Exception.)

Top

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.

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace