Application.SubscriptionsEnabled Property

Gets a value that indicates if the subscription management is enabled for the application.

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

Syntax

'Declaration
Public ReadOnly Property SubscriptionsEnabled As Boolean
public bool SubscriptionsEnabled { get; }
public:
property bool SubscriptionsEnabled {
    bool get ();
}
/** @property */
public boolean get_SubscriptionsEnabled ()
public function get SubscriptionsEnabled () : boolean

Property Value

true if the subscription management is enabled; otherwise false.

Remarks

When subscription management is enabled, subscription records can be added, modified, and deleted.

Use the Application.EnableSubscriptions method to enable subscription management. Enable all application components using the application's Enable method. Enable all instance and application components using the instance's Enable method.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

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

See Also

Reference

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

Controlling Instance and Application Operation