DatabaseEncryptionKeyExtender.State Property
Gets the encryption state.
Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property State As SqlSmoState
    Get
'Usage
Dim instance As DatabaseEncryptionKeyExtender
Dim value As SqlSmoState
value = instance.State
[ExtendedPropertyAttribute]
public SqlSmoState State { get; }
[ExtendedPropertyAttribute]
public:
property SqlSmoState State {
    SqlSmoState get ();
}
[<ExtendedPropertyAttribute>]
member State : SqlSmoState
function get State () : SqlSmoState
Property Value
Type: Microsoft.SqlServer.Management.Smo.SqlSmoState
SqlSmoState
Remarks
The table below lists valid values for SqlSmoState:
| Parameter | Description | 
|---|---|
| Create | The object is being created. | 
| Dropped | The object is being dropped. | 
| Existing | The object exists. | 
| Pending | The object is pending an instruction. | 
| ToBeDropped | The object is waiting to be dropped. |