Partilhar via


Server.EnumDatabaseMirrorWitnessRoles Method

Enumerates a list of database mirror witness roles.

Remarks

Updated text:

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
Server.EnumDatabaseMirrorWitnessRoles ()
Enumerates a list of database mirror witness roles.
Server.EnumDatabaseMirrorWitnessRoles (String)
Enumerates a list of mirror witness roles for the specified database.

See Also

Reference

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Managing Servers

Change History

Release

History

Changed content:
  • Removed the database mirroring disclaimer from the EnumDatabaseMirrorWitnessRoles method of the Server class.

Release

History

New content:
  • Added code sample to the Example section.