Partilhar via


Distributor.ActivationState Property

Gets the current state of the distributor.

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

Syntax

'Declaration
Public ReadOnly Property ActivationState As NSActivationState
public NSActivationState ActivationState { get; }
public:
property NSActivationState ActivationState {
    NSActivationState get ();
}
/** @property */
public NSActivationState get_ActivationState ()
public function get ActivationState () : NSActivationState

Property Value

A NSActivationState that specifies the current state of the distributor.

Remarks

A distributor can be enabled, disabled, enable pending, or disable pending. For more information about these states, see Viewing the Status of Instances, Applications, and Components.

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

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

Other Resources

Specifying Distributor Settings
Viewing the Status of Instances, Applications, and Components