SqlSmoObject 클래스

The SqlSmoObject object represents all SQL Server objects.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
      추가 정보...

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
Public MustInherit Class SqlSmoObject _
    Inherits SmoObjectBase _
    Implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable,  _
    IAlienObject
‘사용 방법
Dim instance As SqlSmoObject
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public abstract class SqlSmoObject : SmoObjectBase, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
public ref class SqlSmoObject abstract : public SmoObjectBase, 
    ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject
[<AbstractClassAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
type SqlSmoObject =  
    class 
        inherit SmoObjectBase 
        interface ISfcPropertyProvider 
        interface ISfcNotifyPropertyMetadataChanged 
        interface INotifyPropertyChanged 
        interface IRefreshable 
        interface IAlienObject 
    end
public abstract class SqlSmoObject extends SmoObjectBase implements ISfcPropertyProvider, ISfcNotifyPropertyMetadataChanged, INotifyPropertyChanged, IRefreshable, IAlienObject

SqlSmoObject 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
보호된 메서드 SqlSmoObject Initializes a new instance of the SqlSmoObject class.

맨 위로 이동

속성

  이름 설명
보호된 속성 ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option.
보호된 속성 IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server.
보호된 속성 ObjectInSpace Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server.
공용 속성 Properties Gets a collection of Property objects that represent the object properties.
보호된 속성 ScalarResult Gets the scalar result for the referenced object.
공용 속성 State Gets the state of the referenced object. (SmoObjectBase에서 상속됨)
공용 속성 Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object.
공용 속성 UserData Gets or sets user-defined data associated with the referenced object. (SmoObjectBase에서 상속됨)

맨 위로 이동

메서드

  이름 설명
보호된 메서드 AddDatabaseContext Add the database context to the collection of queries identified by the queries parameter.
보호된 메서드 AlterImpl Activates the object altered event.
보호된 메서드 AlterImplWorker Calls the Alter methods.
보호된 메서드 BindDefaultImpl Binds the default items identified by the parameters.
보호된 메서드 BindRuleImpl Binds the rule schema to the rule and columns identified by the parameters.
보호된 메서드 CheckObjectState() Validates the state of the referenced object.
보호된 메서드 CheckObjectState(Boolean) Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created.
보호된 메서드 CheckObjectStateImpl Checks the state of a SqlSmoObject.
보호된 메서드 CheckVersion100 Checks whether version of SQL Server is SQL Server 2008.
보호된 메서드 CheckVersion110() Checks whether version of SQL Server is SQL Server 2012.
보호된 메서드 CheckVersion110(String) Checks whether the version of SQL Server is SQL Server 2012 with the specified name.
보호된 메서드 CheckVersion80 Checks the validity of the object on SQL Server 2000.
보호된 메서드 CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3.
보호된 메서드 CheckVersion90 Check the validity of the object on SQL Server 2005.
보호된 메서드 CheckVersionBelow110 Checks whether version of SQL Server is before SQL Server 2012.
보호된 메서드 CheckVersionBelow90 Checks whether version of SQL Server is before SQL Server 2005.
보호된 메서드 CleanObject Sets the object to its unmodified state.
보호된 메서드 CreateImpl Creates an object with scripting options.
공용 메서드 Discover Discovers a list of type Object.
보호된 메서드 DropImpl Drops a SqlSmoObject.
보호된 메서드 DropImplWorker Calls the drop methods.
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 ExecuteNonQuery Executes a batch of statements that does not return a result set.
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 FormatSqlVariant Formats an object as SqlVariant type.
보호된 메서드 GenerateAlterEvent() Generates the alter event with the specified value.
보호된 메서드 GenerateAlterEvent(Urn, Object) Generates alter event with the specified URN and inner object value.
공용 메서드정적 멤버 GetChildType Gets the type of a child element.
보호된 메서드 GetContextDB Gets the context database that is associated with this object.
보호된 메서드 GetDBName Gets the database name that is associated with the object.
보호된 메서드 GetFragOptionString Gets a FragmentationOption object as a string value.
공용 메서드 GetHashCode (Object에서 상속됨)
보호된 메서드 GetPropValue Gets a property value of the SqlSmoObject object.
보호된 메서드 GetPropValueOptional Gets a property value of the SqlSmoObject object.
보호된 메서드 GetPropValueOptionalAllowNull Gets a property value of the SqlSmoObject object.
보호된 메서드 GetRealValue Gets a property value of the SqlSmoObject object.
보호된 메서드 GetServerName Gets the name of the instance of SQL Server with which the object is associated.
보호된 메서드 GetServerObject Gets the server of the SqlSmoObject object.
보호된 메서드 GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated.
공용 메서드 GetType (Object에서 상속됨)
공용 메서드정적 멤버 GetTypeFromUrnSkeleton Gets the type from the Urn object specified by the parameter.
보호된 메서드 GetUrnRecursive(StringBuilder) Assigns an Urn object of the SqlSmoObject object.
보호된 메서드 GetUrnRecursive(StringBuilder, UrnIdOption) Assigns an Urn object of the SqlSmoObject object.
보호된 메서드 ImplInitialize Initializes the fields of the SqlSmoObject object.
공용 메서드 Initialize() Initializes the object and forces the properties be loaded.
공용 메서드 Initialize(Boolean) Initializes the object and forces the properties be loaded.
보호된 메서드정적 멤버 IsCollectionDirty Determines whether any object in the SqlSmoObject collection has been modified.
보호된 메서드 IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server.
보호된 메서드 IsObjectInitialized Verifies whether the object has been initialized.
보호된 메서드 IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server.
보호된 메서드 IsVersion80SP3 Determines whether the version of SQL Server is SQL Server 2000 with SP3.
보호된 메서드 IsVersion90AndAbove Determines whether the version of SQL Server is SQL Server 2005 or later.
보호된 메서드 MarkDropped Sets the SqlSmoState to dropped.
보호된 메서드 MarkForDropImpl Sets the SqlSmoState for drop operation.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
보호된 메서드 PostAlter The method that is activated after the SqlSmoObject is altered.
보호된 메서드 PostCreate The method that is activated after the SqlSmoObject is created.
보호된 메서드 PostDrop The method that is activated after the SqlSmoObject is dropped.
공용 메서드 Refresh Refreshes the object and retrieves properties when the object is next accessed.
보호된 메서드 ScriptImpl() Gets a collection of scripts of the SqlSmoObject.
보호된 메서드 ScriptImpl(ScriptingOptions) Gets a collection of scripts of the SqlSmoObject.
보호된 메서드 SetParentImpl Sets the parent of the SqlSmoObject to the newParent parameter.
공용 메서드 ToString Returns a String that represents the referenced object. (Object.ToString()을(를) 재정의함)
보호된 메서드 TouchImpl Not implemented.
보호된 메서드정적 멤버 Trace Traces the object.
보호된 메서드 UnbindDefaultImpl Unbinds the default columns of the SqlSmoObject.
보호된 메서드 UnbindRuleImpl Unbinds rules of the SqlSmoObject.
보호된 메서드정적 멤버 UpdateCollectionState2 Updates the collection state of the SqlSmoObject.
공용 메서드 Validate Validates the state of an object. (SmoObjectBase에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 PropertyChanged Represents the event that occurs when a property is changed.
공용 이벤트 PropertyMetadataChanged Represents the event that occurs when property metadata changes.

맨 위로 이동

필드

  이름 설명
보호된 필드 m_ExtendedProperties Represents a property that is defined to extend the properties provided by a SqlSmoObject.
보호된 필드 singletonParent Represents the singleton parent.

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IAlienObject.Discover Discovers any dependencies. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 IAlienObject.GetDomainRoot Returns the root of the domain.
명시적 인터페이스 구현전용 메서드 IAlienObject.GetParent Gets the parent of this object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 IAlienObject.GetPropertyType Gets the type of the specified property.
명시적 인터페이스 구현전용 메서드 IAlienObject.GetPropertyValue Gets the value of the specified property.
명시적 인터페이스 구현전용 메서드 IAlienObject.GetUrn Gets the Unified Resource Name (URN) of the object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
명시적 인터페이스 구현전용 메서드 IAlienObject.Resolve Gets the instance that contains the information about the object from the Unified Resource Name (URN) of the object.
명시적 인터페이스 구현전용 메서드 IAlienObject.SetObjectState Sets the object state to the specified SfcObjectState value.
명시적 인터페이스 구현전용 메서드 IAlienObject.SetPropertyValue Sets the property value.
명시적 인터페이스 구현전용 메서드 ISfcPropertyProvider.GetPropertySet Gets the interface reference to the set of properties of this object.

맨 위로 이동

주의

The SqlSmoObject is a generic object that is used to referenced objects that are not of a specified type. The SqlSmoObject is also used as a base class.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.  

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Smo 네임스페이스

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.SqlSmoObject
      Microsoft.SqlServer.Management.Smo.Agent.JobServer
      Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPAddress
      Microsoft.SqlServer.Management.Smo.Broker.ServiceBroker
      Microsoft.SqlServer.Management.Smo.DatabaseActiveDirectory
      Microsoft.SqlServer.Management.Smo.DatabaseEncryptionKey
      Microsoft.SqlServer.Management.Smo.DatabaseOptions
      Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
      Microsoft.SqlServer.Management.Smo.EndpointPayload
      Microsoft.SqlServer.Management.Smo.EndpointProtocol
      Microsoft.SqlServer.Management.Smo.FullTextIndex
      Microsoft.SqlServer.Management.Smo.Information
      Microsoft.SqlServer.Management.Smo.Mail.SqlMail
      Microsoft.SqlServer.Management.Smo.MasterKey
      Microsoft.SqlServer.Management.Smo.MessageObjectBase
      Microsoft.SqlServer.Management.Smo.NamedSmoObject
      Microsoft.SqlServer.Management.Smo.PhysicalPartition
      Microsoft.SqlServer.Management.Smo.ResourceGovernor
      Microsoft.SqlServer.Management.Smo.Server
      Microsoft.SqlServer.Management.Smo.ServerActiveDirectory
      Microsoft.SqlServer.Management.Smo.ServerProxyAccount
      Microsoft.SqlServer.Management.Smo.ServiceMasterKey
      Microsoft.SqlServer.Management.Smo.Settings
      Microsoft.SqlServer.Management.Smo.UserOptions