Udostępnij przez


Default Constructor (Database, String)

Initializes a new instance of the Default class on the specified database and with the specified name.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub New ( _
    database As Database, _
    name As String _
)
public Default (
    Database database,
    string name
)
public:
Default (
    Database^ database, 
    String^ name
)
public Default (
    Database database, 
    String name
)
public function Default (
    database : Database, 
    name : String
)

Parameters

  • database
    A Database object that specifies the database that owns the Default object.
  • name
    A string value that specifies the name of the Default object.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.