AvailabilityDatabase.Script Method
SQL Server 2012
Generates the script for creating the availability database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Return Value
Type: System.Collections.Specialized.StringCollectionA list of Transact-SQL statements in the script.
