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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabase.DefinitionStages.WithAttachAllOptions<ParentT>fromSample(SampleName sampleName)Creates a new database from a restore point.
-
-
-
Method Detail
-
fromSample
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.
-
-