共用方式為


AttachOptions 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Enumeration AttachOptions
'用途
Dim instance As AttachOptions
public enum AttachOptions
public enum class AttachOptions
type AttachOptions
public enum AttachOptions

成員

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