Interface SqlDatabase.DefinitionStages.WithSampleDatabase<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
SqlDatabase.DefinitionStages.Blank<ParentT>,SqlDatabase.DefinitionStages.WithAllDifferentOptions<ParentT>,SqlDatabase.SqlDatabaseDefinition<ParentT>
- Enclosing interface:
- SqlDatabase.DefinitionStages
public static interface SqlDatabase.DefinitionStages.WithSampleDatabase<ParentT>
The SQL Database definition to set a sample database as the source database.
-
Method Summary
Modifier and TypeMethodDescriptionfromSample(SampleName sampleName) Creates a new database from a restore point.
-
Method Details
-
fromSample
@Beta(V1_7_0) SqlDatabase.DefinitionStages.WithAttachAllOptions<ParentT> 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.
-