Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

AttachOptions Enumeration

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

public enum AttachOptions
public enum AttachOptions
public enum AttachOptions

Member nameDescription
EnableBrokerEnables Service Broker. Value = 1.
ErrorBrokerConversationsStops all current active Service Broker conversations at the save point and issues an error message. Value = 3.
NewBrokerCreates a new Service Broker. Value = 2.
NoneThere are no attach options. Value = 0.
RebuildLogRebuilds the log. Value = 4.

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


Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft