SfcInstance Class

Base class for all SQL Server Foundation Class (SFC) objects in an object model domain, such as SMO. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    More...

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

Syntax

'Declaration
Public MustInherit Class SfcInstance _
    Implements ISfcDiscoverObject, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged
'Usage
Dim instance As SfcInstance
public abstract class SfcInstance : ISfcDiscoverObject, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged
public ref class SfcInstance abstract : ISfcDiscoverObject, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged
[<AbstractClassAttribute>]
type SfcInstance =  
    class 
        interface ISfcDiscoverObject 
        interface ISfcPropertyProvider 
        interface ISfcNotifyPropertyMetadataChanged 
        interface INotifyPropertyChanged 
    end
public abstract class SfcInstance implements ISfcDiscoverObject, ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged

The SfcInstance type exposes the following members.

Constructors

  Name Description
Protected method SfcInstance Creates the object that inherits from SfcInstance.

Top

Properties

  Name Description
Protected property AbstractIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property Metadata Returns metadata about the instance and its domain.
Public property Parent Gets or sets the instance parent via the keychain.
Public property Properties Returns a collection instance properties.
Protected property PropertyStorageProvider Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected property State Returns the state of the SfcInstance object.
Public property Urn Returns the uniform resource name of the SfcInstance object.

Top

Methods

  Name Description
Protected method AlterImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method CheckObjectCreated Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method CheckObjectState Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method CreateIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method CreateImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Discover Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method DropImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetChildCollection Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDomain Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetHashCode (Inherited from Object.)
Public method GetPropertySet Returns the set of properties for the SfcInstance object.
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method InitializeUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method MarkForDropImpl Returns a value that indicates the existing objects to be dropped. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method MarkRootAsConnected Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method MemberwiseClone (Inherited from Object.)
Protected method MoveImpl Indicates the new parent object to move in an instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated.
Protected method OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated.
Protected method PostAlter Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method PostCreate Indicates the default implementor that creates the execution result. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method PostDrop Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method PostMove Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method PostRename Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Refresh Refreshes the object's properties by reading them from the server.
Protected method RenameImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method ResetKey Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Serialize Serializes the instance to XML.
Public method ToString Returns a string representation of the instance Urn. (Overrides Object.ToString().)
Protected method UpdateUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method Validate Indicates the basic child object's validation. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Events

  Name Description
Protected event propertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public event PropertyChanged CLS-compliant event for property changes.
Protected event propertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public event PropertyMetadataChanged CLS-compliant event for property metadata changes.

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.Collector.CollectionItem
    Microsoft.SqlServer.Management.Collector.CollectionSet
    Microsoft.SqlServer.Management.Collector.CollectorConfigStore
    Microsoft.SqlServer.Management.Dmf.Condition
    Microsoft.SqlServer.Management.Dmf.ConnectionEvaluationHistory
    Microsoft.SqlServer.Management.Dmf.EvaluationDetail
    Microsoft.SqlServer.Management.Dmf.EvaluationHistory
    Microsoft.SqlServer.Management.Dmf.ObjectSet
    Microsoft.SqlServer.Management.Dmf.Policy
    Microsoft.SqlServer.Management.Dmf.PolicyCategory
    Microsoft.SqlServer.Management.Dmf.PolicyCategorySubscription
    Microsoft.SqlServer.Management.Dmf.PolicyStore
    Microsoft.SqlServer.Management.Dmf.TargetSet
    Microsoft.SqlServer.Management.Dmf.TargetSetLevel
    Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer
    Microsoft.SqlServer.Management.RegisteredServers.ServerGroupParent
    Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance<K, T>
    Microsoft.SqlServer.Management.Utility.Computer
    Microsoft.SqlServer.Management.Utility.DeployedDac
    Microsoft.SqlServer.Management.Utility.ManagedInstance
    Microsoft.SqlServer.Management.Utility.Utility
    Microsoft.SqlServer.Management.Utility.Volume
    Microsoft.SqlServer.Management.XEvent.Action
    Microsoft.SqlServer.Management.XEvent.ActionInfo
    Microsoft.SqlServer.Management.XEvent.DataEventColumnInfo
    Microsoft.SqlServer.Management.XEvent.Event
    Microsoft.SqlServer.Management.XEvent.EventColumnInfo
    Microsoft.SqlServer.Management.XEvent.EventField
    Microsoft.SqlServer.Management.XEvent.EventInfo
    Microsoft.SqlServer.Management.XEvent.MapInfo
    Microsoft.SqlServer.Management.XEvent.MapValueInfo
    Microsoft.SqlServer.Management.XEvent.Package
    Microsoft.SqlServer.Management.XEvent.PredCompareInfo
    Microsoft.SqlServer.Management.XEvent.PredSourceInfo
    Microsoft.SqlServer.Management.XEvent.ReadOnlyEventColumnInfo
    Microsoft.SqlServer.Management.XEvent.Session
    Microsoft.SqlServer.Management.XEvent.Target
    Microsoft.SqlServer.Management.XEvent.TargetColumnInfo
    Microsoft.SqlServer.Management.XEvent.TargetField
    Microsoft.SqlServer.Management.XEvent.TargetInfo
    Microsoft.SqlServer.Management.XEvent.TypeInfo
    Microsoft.SqlServer.Management.XEvent.XEStore