SqlDatabase.DefinitionStages.WithSampleDatabase<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface SqlDatabase.DefinitionStages.WithSampleDatabase

The SQL Database definition to set a sample database as the source database.

Method Summary

Modifier and Type Method and Description
abstract WithAttachAllOptions<ParentT> fromSample(SampleName sampleName)

Creates a new database from a restore point.

Method Details

fromSample

public abstract SqlDatabase.DefinitionStages.WithAttachAllOptions fromSample(SampleName sampleName)

Creates a new database from a restore point.

Parameters:

sampleName - the sample database to use as the source

Returns:

The next stage of the definition.

Applies to