Partager via


TeamFoundationDatabaseManagementService.TryGetDatabaseProperties Method

Get the database properties from a connection string.

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

Syntax

'Declaration
Public Function TryGetDatabaseProperties ( _
    requestContext As TeamFoundationRequestContext, _
    connectionString As String, _
    <OutAttribute> ByRef databaseProperties As TeamFoundationDatabaseProperties _
) As Boolean
public bool TryGetDatabaseProperties(
    TeamFoundationRequestContext requestContext,
    string connectionString,
    out TeamFoundationDatabaseProperties databaseProperties
)
public:
bool TryGetDatabaseProperties(
    TeamFoundationRequestContext^ requestContext, 
    String^ connectionString, 
    [OutAttribute] TeamFoundationDatabaseProperties^% databaseProperties
)
member TryGetDatabaseProperties : 
        requestContext:TeamFoundationRequestContext * 
        connectionString:string * 
        databaseProperties:TeamFoundationDatabaseProperties byref -> bool
public function TryGetDatabaseProperties(
    requestContext : TeamFoundationRequestContext, 
    connectionString : String, 
    databaseProperties : TeamFoundationDatabaseProperties
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace