共用方式為


Server.EnumDatabaseMirrorWitnessRoles Method

Definition

Overloads

EnumDatabaseMirrorWitnessRoles()

Enumerates the witness roles the server plays in a database mirroring partnership

EnumDatabaseMirrorWitnessRoles(String)

EnumDatabaseMirrorWitnessRoles()

Enumerates the witness roles the server plays in a database mirroring partnership

public System.Data.DataTable EnumDatabaseMirrorWitnessRoles ();
member this.EnumDatabaseMirrorWitnessRoles : unit -> System.Data.DataTable
Public Function EnumDatabaseMirrorWitnessRoles () As DataTable

Returns

Applies to

EnumDatabaseMirrorWitnessRoles(String)

public System.Data.DataTable EnumDatabaseMirrorWitnessRoles (string database);
member this.EnumDatabaseMirrorWitnessRoles : string -> System.Data.DataTable
Public Function EnumDatabaseMirrorWitnessRoles (database As String) As DataTable

Parameters

database
String

Returns

Applies to