共用方式為


Database Constructor (String, String, String, String, Boolean)

Namespace:  Microsoft.TeamFoundation.Server
Assembly:  Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)

Syntax

'宣告
Public Sub New ( _
    name As String, _
    databaseName As String, _
    serverName As String, _
    connectionString As String, _
    excludeFromBackup As Boolean _
)
public Database(
    string name,
    string databaseName,
    string serverName,
    string connectionString,
    bool excludeFromBackup
)
public:
Database(
    String^ name, 
    String^ databaseName, 
    String^ serverName, 
    String^ connectionString, 
    bool excludeFromBackup
)
new : 
        name:string * 
        databaseName:string * 
        serverName:string * 
        connectionString:string * 
        excludeFromBackup:bool -> Database
public function Database(
    name : String, 
    databaseName : String, 
    serverName : String, 
    connectionString : String, 
    excludeFromBackup : boolean
)

Parameters

.NET Framework Security

See Also

Reference

Database Class

Database Overload

Microsoft.TeamFoundation.Server Namespace