共用方式為


TaskUIUtils.IsDatabaseNotOnline(Database, Int32) Method

Definition

public:
 static bool IsDatabaseNotOnline(Microsoft::SqlServer::Management::Smo::Database ^ db, int serverVersion);
public static bool IsDatabaseNotOnline (Microsoft.SqlServer.Management.Smo.Database db, int serverVersion);
static member IsDatabaseNotOnline : Microsoft.SqlServer.Management.Smo.Database * int -> bool
Public Shared Function IsDatabaseNotOnline (db As Database, serverVersion As Integer) As Boolean

Parameters

serverVersion
Int32

Returns

Applies to