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 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
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 继承。) |
页首
方法
页首
显式接口实现
名称 | 说明 | |
---|---|---|
IAlienObjectDiscover | ||
IAlienObjectGetParent | ||
IAlienObjectGetProperty | ||
ISfcPropertyProviderGetPropertySet | ||
IAlienObjectGetUrn | ||
IAlienObjectResolve | ||
IAlienObjectSetProperty |
页首
注释
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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo..::..SqlSmoObject
Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobServer
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. . :: . .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