Delen via


AlterMasterKeyStatement.Option Property

Gets or sets the option that specifies how exactly MASTER KEY is altered.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Option As AlterMasterKeyOption 
    Get 
    Set
'Usage
Dim instance As AlterMasterKeyStatement 
Dim value As AlterMasterKeyOption 

value = instance.Option

instance.Option = value
public AlterMasterKeyOption Option { get; set; }
public:
property AlterMasterKeyOption Option {
    AlterMasterKeyOption get ();
    void set (AlterMasterKeyOption value);
}
member Option : AlterMasterKeyOption with get, set
function get Option () : AlterMasterKeyOption 
function set Option (value : AlterMasterKeyOption)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.AlterMasterKeyOption
The option that specifies how exactly MASTER KEY is altered.

See Also

Reference

AlterMasterKeyStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace