ObjectSet ObjectSet ObjectSet Class

Definition

public sealed class ObjectSet : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance, Microsoft.SqlServer.Management.Common.IAlterable, Microsoft.SqlServer.Management.Common.ICreatable, Microsoft.SqlServer.Management.Common.IDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcAlterable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCreatable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDroppable, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcValidate
type ObjectSet = class
    inherit SfcInstance
    interface ISfcCreatable
    interface ICreatable
    interface ISfcDroppable
    interface IDroppable
    interface ISfcAlterable
    interface IAlterable
    interface ISfcValidate
Public NotInheritable Class ObjectSet
Inherits SfcInstance
Implements IAlterable, ICreatable, IDroppable, ISfcAlterable, ISfcCreatable, ISfcDroppable, ISfcValidate
Inheritance
Implements

Constructors

ObjectSet() ObjectSet() ObjectSet()

This is the non-generated part of the ObjectSet class.

ObjectSet(PolicyStore, String) ObjectSet(PolicyStore, String) ObjectSet(PolicyStore, String)

Properties

AbstractIdentityKey AbstractIdentityKey AbstractIdentityKey Inherited from SfcInstance
Facet Facet Facet
ID ID ID
IdentityKey IdentityKey IdentityKey
IsSystemObject IsSystemObject IsSystemObject
Metadata Metadata Metadata Inherited from SfcInstance
Name Name Name
Parent Parent Parent
Properties Properties Properties Inherited from SfcInstance
PropertyStorageProvider PropertyStorageProvider PropertyStorageProvider

This property returns the default implementation of SFC for ISfcPropertyStorageProvider interface, it can be overriden in the child classes to return another storage provider (i.e. flat properties list)

(Inherited from SfcInstance)
State State State Inherited from SfcInstance
TargetSets TargetSets TargetSets

Collection of TargetSet objects.

Urn Urn Urn

Create a new Urn string on each request and return it.

(Inherited from SfcInstance)

Methods

Alter() Alter() Alter()
AlterImpl() AlterImpl() AlterImpl() Inherited from SfcInstance
CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection) CalculateTargets(ISfcConnection)
CalculateTargets(ISfcConnection, SfcQueryExpression) CalculateTargets(ISfcConnection, SfcQueryExpression) CalculateTargets(ISfcConnection, SfcQueryExpression)
CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[]) CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[]) CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[])
CalculateTargets(SqlStoreConnection, String) CalculateTargets(SqlStoreConnection, String) CalculateTargets(SqlStoreConnection, String)
CheckObjectCreated() CheckObjectCreated() CheckObjectCreated()

To be called from domain for when an API requires the object to be Created Stronger than CheckObjectState

(Inherited from SfcInstance)
CheckObjectState() CheckObjectState() CheckObjectState()

To be called from domain for any access to the object

(Inherited from SfcInstance)
Create() Create() Create()
CreateIdentityKey() CreateIdentityKey() CreateIdentityKey() Inherited from SfcInstance
CreateImpl() CreateImpl() CreateImpl() Inherited from SfcInstance
Discover(ISfcDependencyDiscoveryObjectSink) Discover(ISfcDependencyDiscoveryObjectSink) Discover(ISfcDependencyDiscoveryObjectSink)
Drop() Drop() Drop()
DropImpl() DropImpl() DropImpl() Inherited from SfcInstance
GetChildCollection(String) GetChildCollection(String) GetChildCollection(String)

Get the child collection in this instance for the given element name string.

(Inherited from SfcInstance)
GetDomain() GetDomain() GetDomain() Inherited from SfcInstance
GetObjectFactory() GetObjectFactory() GetObjectFactory()
GetPropertySet() GetPropertySet() GetPropertySet() Inherited from SfcInstance
GetTypeMetadataImpl() GetTypeMetadataImpl() GetTypeMetadataImpl() Inherited from SfcInstance
InitializeUIPropertyState() InitializeUIPropertyState() InitializeUIPropertyState()

Overridable from the child objects who care about initializing their states (dynamic metadata which is currently the ".Enabled" property)

(Inherited from SfcInstance)
MarkForDropImpl(Boolean) MarkForDropImpl(Boolean) MarkForDropImpl(Boolean) Inherited from SfcInstance
MarkRootAsConnected() MarkRootAsConnected() MarkRootAsConnected() Inherited from SfcInstance
MoveImpl(SfcInstance) MoveImpl(SfcInstance) MoveImpl(SfcInstance) Inherited from SfcInstance
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) Inherited from SfcInstance
OnPropertyValueChanges(PropertyChangedEventArgs) OnPropertyValueChanges(PropertyChangedEventArgs) OnPropertyValueChanges(PropertyChangedEventArgs) Inherited from SfcInstance
PostAlter(Object) PostAlter(Object) PostAlter(Object) Inherited from SfcInstance
PostCreate(Object) PostCreate(Object) PostCreate(Object) Inherited from SfcInstance
PostDrop(Object) PostDrop(Object) PostDrop(Object) Inherited from SfcInstance
PostMove(Object) PostMove(Object) PostMove(Object) Inherited from SfcInstance
PostRename(Object) PostRename(Object) PostRename(Object) Inherited from SfcInstance
Refresh() Refresh() Refresh()

refreshes the object's properties by reading them from the server

(Inherited from SfcInstance)
RenameImpl(SfcKey) RenameImpl(SfcKey) RenameImpl(SfcKey) Inherited from SfcInstance
ResetKey() ResetKey() ResetKey() Inherited from SfcInstance
ScriptAlter() ScriptAlter() ScriptAlter()
ScriptCreate() ScriptCreate() ScriptCreate()
ScriptDrop() ScriptDrop() ScriptDrop()
Serialize(XmlWriter) Serialize(XmlWriter) Serialize(XmlWriter) Inherited from SfcInstance
SetFacetWithDomain(String, String) SetFacetWithDomain(String, String) SetFacetWithDomain(String, String)

Constructs ObjectSet, using domain to generate TargetSet paths

ToString() ToString() ToString() Inherited from SfcInstance
UpdateUIPropertyState() UpdateUIPropertyState() UpdateUIPropertyState() Inherited from SfcInstance
Validate() Validate() Validate()

Basic child object's validation

(Inherited from SfcInstance)
Validate(String) Validate(String) Validate(String)

Policy validation Unlike ISfcValidate.Validate, this method will throw the first exception it encounters If execution of this method doesn't produce any exceptions, validation passed

Explicit Interface Implementations

ISfcValidate.Validate(String, Object[]) ISfcValidate.Validate(String, Object[]) ISfcValidate.Validate(String, Object[])

ISfcValidate implementation for Policy

Events

propertyChanged propertyChanged propertyChanged Inherited from SfcInstance
PropertyChanged PropertyChanged PropertyChanged Inherited from SfcInstance
propertyMetadataChanged propertyMetadataChanged propertyMetadataChanged Inherited from SfcInstance
PropertyMetadataChanged PropertyMetadataChanged PropertyMetadataChanged Inherited from SfcInstance

Applies to