SqlServerDatabaseResource
Handle
A resource that represents a SQL Server database that is a child of a SQL Server container resource.
type SqlServerDatabaseResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}7 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the SQL Server database.
ConnectionStringExpression() *ReferenceExpressionproperty
DatabaseName stringgetGets the database name.
DatabaseName() (string, error)property
JdbcConnectionString *ReferenceExpression getGets the JDBC connection string for the SQL Server database.
JdbcConnectionString() *ReferenceExpressionproperty
ParentSqlServerServerResource getGets the parent SQL Server container resource.
Parent() SqlServerServerResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
UriExpression *ReferenceExpression getGets the connection URI expression for the SQL Server database.
UriExpression() *ReferenceExpressionMethods
Defines the SQL script used to create the database.
WithCreationScript(script string) SqlServerDatabaseResourceParameters
scriptstringThe SQL script used to create the database.Returns
SqlServerDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().