共用方式為


AttachOptions Enumeration

The AttachOptions enumeration contains values that are used to specify attach options.

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
Public Enumeration AttachOptions
public enum AttachOptions
public enum class AttachOptions
public enum AttachOptions
public enum AttachOptions

Members

Member name Description
EnableBroker Enables Service Broker. Value = 1.
ErrorBrokerConversations Stops all current active Service Broker conversations at the save point and issues an error message. Value = 3.
NewBroker Creates a new Service Broker. Value = 2.
None There are no attach options. Value = 0.
RebuildLog Rebuilds the log. Value = 4.

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace