DatabaseEncryptionKey.Script Method (ScriptingOptions)

 

Generates a script for a database encryption key object with the specific scripting options.

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

public StringCollection Script(
	ScriptingOptions scriptingOptions
)

Parameters

scriptingOptions
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions

The scripting options object.

Return Value

Type: System.Collections.Specialized.StringCollection

The collection of script for a database encryption key.

Return to top
Show: