ObjectSet Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |
This is the non-generated part of the ObjectSet class. |
ObjectSet(PolicyStore, String) |
Properties
AbstractIdentityKey | (Inherited from SfcInstance) |
Facet | |
ID | |
IdentityKey | |
IsSystemObject | |
KeyChain |
Returns the identity path of the object (Inherited from SfcInstance) |
Metadata | (Inherited from SfcInstance) |
Name | |
Parent | |
Properties | (Inherited from SfcInstance) |
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 | (Inherited from SfcInstance) |
TargetSets |
Collection of TargetSet objects. |
Urn |
Create a new Urn string on each request and return it. (Inherited from SfcInstance) |
Methods
Alter() | |
AlterImpl() | (Inherited from SfcInstance) |
CalculateTargets(ISfcConnection) | |
CalculateTargets(ISfcConnection, SfcQueryExpression) | |
CalculateTargets(SqlStoreConnection, Condition, AdHocPolicyEvaluationMode, String, Object[], TargetEvaluation[]) | |
CalculateTargets(SqlStoreConnection, String) | |
CheckObjectCreated() |
To be called from domain for when an API requires the object to be Created Stronger than CheckObjectState (Inherited from SfcInstance) |
CheckObjectState() |
To be called from domain for any access to the object (Inherited from SfcInstance) |
Create() | |
CreateIdentityKey() | (Inherited from SfcInstance) |
CreateImpl() | (Inherited from SfcInstance) |
Discover(ISfcDependencyDiscoveryObjectSink) | |
Drop() | |
DropImpl() | (Inherited from SfcInstance) |
GenerateUniqueName(Policy) |
Generates unique (at the moment of request) ObjectSet name based on Policy name. Policy has to be parented (otherwise uniqueness cannot be verified) |
GetChildCollection(String) |
Get the child collection in this instance for the given element name string. (Inherited from SfcInstance) |
GetDomain() | (Inherited from SfcInstance) |
GetObjectFactory() | |
GetPropertySet() | (Inherited from SfcInstance) |
GetTypeMetadataImpl() | (Inherited from SfcInstance) |
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) | (Inherited from SfcInstance) |
MarkRootAsConnected() | (Inherited from SfcInstance) |
MoveImpl(SfcInstance) | (Inherited from SfcInstance) |
OnPropertyMetadataChanges(SfcPropertyMetadataChangedEventArgs) | (Inherited from SfcInstance) |
OnPropertyValueChanges(PropertyChangedEventArgs) | (Inherited from SfcInstance) |
PostAlter(Object) | (Inherited from SfcInstance) |
PostCreate(Object) | (Inherited from SfcInstance) |
PostDrop(Object) | (Inherited from SfcInstance) |
PostMove(Object) | (Inherited from SfcInstance) |
PostRename(Object) | (Inherited from SfcInstance) |
Refresh() |
refreshes the object's properties by reading them from the server (Inherited from SfcInstance) |
RenameImpl(SfcKey) | (Inherited from SfcInstance) |
ResetKey() | (Inherited from SfcInstance) |
ScriptAlter() | |
ScriptCreate() | |
ScriptDrop() | |
Serialize(XmlWriter) | (Inherited from SfcInstance) |
SetFacetWithDomain(String, String) |
Constructs ObjectSet, using domain to generate TargetSet paths |
ToString() | (Inherited from SfcInstance) |
UpdateUIPropertyState() | (Inherited from SfcInstance) |
Validate() |
Basic child object's validation (Inherited from SfcInstance) |
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 |
Events
propertyChanged | (Inherited from SfcInstance) |
PropertyChanged | (Inherited from SfcInstance) |
propertyMetadataChanged | (Inherited from SfcInstance) |
PropertyMetadataChanged | (Inherited from SfcInstance) |
Explicit Interface Implementations
ISfcValidate.Validate(String, Object[]) |
ISfcValidate implementation for Policy |