You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a database snapshot named **MyDatabaseSnapshot** from the source database **MyDatabase**
69
+
without prompting for confirmation.
70
+
58
71
.OUTPUTS
59
72
`[Microsoft.SqlServer.Management.Smo.Database]`
60
73
#>
61
74
functionNew-SqlDscDatabase
62
75
{
63
76
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples','', Justification ='Because the rule does not yet support parsing the code when a parameter type is not available. The ScriptAnalyzer rule UseSyntacticallyCorrectExamples will always error in the editor due to https://github.com/indented-automation/Indented.ScriptAnalyzerRules/issues/8.')]
Copy file name to clipboardExpand all lines: source/en-US/SqlServerDsc.strings.psd1
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -358,6 +358,8 @@ ConvertFrom-StringData @'
358
358
Database_InvalidCompatibilityLevel = The specified compatibility level '{0}' is not a valid compatibility level for the instance '{1}'.
359
359
Database_InvalidCollation = The specified collation '{0}' is not a valid collation for the instance '{1}'.
360
360
Database_CatalogCollationNotSupported = The parameter CatalogCollation is not supported on SQL Server instance '{0}' with version '{1}'. This parameter requires SQL Server 2019 (version 15) or later.
361
+
Database_SnapshotSourceDatabaseNotFound = The source database '{0}' for the database snapshot does not exist on instance '{1}'.
362
+
Database_CreatingSnapshot = Creating database snapshot '{0}' from source database '{1}'.
361
363
Database_Create_ShouldProcessVerboseDescription = Creating the database '{0}' on the instance '{1}'.
362
364
Database_Create_ShouldProcessVerboseWarning = Are you sure you want to create the database '{0}'?
363
365
# This string shall not end with full stop (.) since it is used as a title of ShouldProcess messages.
0 commit comments