We recommend using Visual Studio 2017

SqlSmoState Enumeration

The SqlSmoState enumeration contains values that are used to specify the state of an SMO object.

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

public enum SqlSmoState

Member nameDescription
PendingThe object is pending an instruction.
CreatingThe object is being created.
ExistingThe object exists.
ToBeDroppedThe object is waiting to be dropped.
DroppedThe object is being dropped.

The SqlSmoState enumeration class is served by the InvalidSmoOperationException exception constructor.