對 SMO 的 SQL-DMO 對應

數個 SQL Distributed Management Objects (SQL-DMO) 屬性已在轉換至 SQL Server Management Objects (SMO) 時移動或移除。此表格說明尚未直接轉換成 SMO 的 DMO 屬性發生了什麼變化。

SQL-DMO 物件

SMO 中的動作

Alert Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

AlertSystem Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

Application Object

已移除。

Backup Object 和Backup2 Object

Backup 和 BackupRestoreBase 物件。

BackupDevice Object

BackupDevice 物件

BulkCopy Object 和BulkCopy2 Object

已由 Transfer 物件移除並取代。

Category Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。已由 AlertCategory、OperatorCategory、JobCategory 物件取代。

Check Object

Check 物件

Column Object 和Column2 Object

Column 物件。

Configuration Object

Configuration 和 ConfigurationBase 物件。

ConfigValue Object

ConfigProperty 物件。

Database Object 和Database2 Object

Database 物件。

DatabaseRole Object 和DatabaseRole2 Object

DatabaseRole 物件。

DBFile Object

DataFile 物件。

DBOption Object 和DBOption2 Object

已移至 DatabaseOptions 物件。

Default Object 和Default2 Object

Default 物件。

DistributionArticle Object 和DistributionArticle2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

DistributionDatabase Object 和DistributionDatabase2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

DistributionPublication Object 和DistributionPublication2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

DistributionSubscription Object 和DistributionSubscription2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

Distributor Object 和Distributor2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

DRIDefault Object

已移至 ScriptingOptions 物件。

FileGroup Object 和FileGroup2 Object

FileGroup 物件。

FullTextCatalog Object 和FullTextCatalog2 Object

FullTextCatalog 和 FullTextIndex 物件。

Index Object 和Index2 Object

Index 物件

IntegratedSecurity Object 物件

功能已移至 Microsoft.SqlServer.Management.Common 命名空間中的 ServerConnection 物件。

Job Object

Job 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

JobFilter Object

JobFilter 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

JobHistoryFilter Object

JobHistoryFilter 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

JobSchedule Object

JobSchedule 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

JobServer Object 和JobServer2 Object

JobServer 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

JobStep Object

JobStep 物件。已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

Key Object

ForeignKey 和 Index 物件。

LinkedServer Object 和LinkedServer2 Object

LinkedServer 物件。

LinkedServerLogin Object

LinkedServerLogin 物件。

LogFile Object

LogFile 物件。

Login Object 和Login2 Object

Login 物件。

MergeArticle Object 和MergeArticle2 Object

MergeArticle 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

MergeDynamicSnapshotJob Object

已移至 Microsoft.SqlServer.Replication 命名空間。

MergePublication Object 和MergePublication2 Object

MergePublication 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

MergePullSubscription Object 和MergePullSubscription2 Object

MergePullSubscription 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

MergeSubscription Object

MergeSubscription 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

MergeSubsetFilter Object

已移至 N:Microsoft.SqlServer.Replication 命名空間。

NameList Object

已移除。Scripter 物件中的替代功能。

Operator Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

Permission Object 和Permission2 Object

ServerPermission、DatabasePermission、ApplicationRole 和 ObjectPermission 物件。

Property Object

Property 物件。

Publisher Object 和Publisher2 Object

ReplicationServer 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

QueryResults Object 和QueryResults2 Object

已由 DataTable 或 DataSet 系統物件取代。

RegisteredServer Object

已移至 Microsoft.SqlServer.Replication 命名空間。

RegisteredSubscriber Object

已移至 Microsoft.SqlServer.Replication 命名空間。

Registry Object 和Registry2 Object

已移除。

RemoteLogin Object

ServerConnection 物件。已移至 Common 命名空間。

RemoteServer Object 和RemoteServer2 Object

ServerConnection 物件。已移至 Microsoft.SqlServer.Management.Common 命名空間。

Replication Object

已移至 Microsoft.SqlServer.Replication 命名空間。

ReplicationDatabase Object 和ReplicationDatabase2 Object

ReplicationDatabase 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

ReplicationSecurity Object

ServerConnection 物件。已移至 Microsoft.SqlServer.Management.Common 命名空間。

ReplicationStoredProcedure Object 和ReplicationStoredProcedure2 Object

ReplicationStoredProcedure 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

ReplicationTable Object 和ReplicationTable2 Object

ReplicationTable 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

Restore Object 和Restore2 Object

Restore 和 BackupRestoreBase 物件。

Rule Object 和Rule2 Object

Rule 物件

Schedule Object

已移至 Microsoft.SqlServer.Replication 命名空間。

ServerGroup Object

已移除。

ServerRole Object

ServerRole 物件。

SQLObjectList Object

SqlSmoObject 陣列。

SQLServer Object和SQLServer2 Object

Server 物件。

StoredProcedure Object 和StoredProcedure2 Object

StoredProcedure 和 StoredProcedureParameter 物件。

Subscriber Object 和Subscriber2 Object

已移至 Microsoft.SqlServer.Replication 命名空間。

SystemDatatype Object 和SystemDataType2 Object

DataType 物件。

Table Object 和Table2 Object

Table 物件。

TargetServer Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

TargetServerGroup Object

已移至 Microsoft.SqlServer.Management.Smo.Agent 命名空間。

TransactionLog Object

功能已移至 Database 物件中。

TransArticle Object 和TransArticle2 Object

TransArticle 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

Transfer Method 和Transfer2 Object

Transfer 物件。

TransPublication Object 和TransPublication2 Object

TransPublication 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

TransPullSubscription Object 和TransPullSubscription2 Object

TransPullSubscription 物件。已移至 Microsoft.SqlServer.Replication 命名空間。

Trigger Object 和Trigger2 Object

Trigger 物件。

User Object 和User2 Object

User 物件。

UserDefinedDatatype Object 和UserDefinedDataType2 Object

UserDefinedType 物件。

UserDefinedFunction Object

UserDefinedFunction 和 UserDefinedFunctionParameter 物件。

View Object 和View2 Object

View 物件。