Instance.Repair Method

Repairs the instance metadata in system databases.

Overload List

Name Description
Instance.Repair (String, String, String)
Repairs the metadata in system databases for the specified instance. Use this method if the instance is registered locally.
Instance.Repair (String, String, String, String)
Repairs the metadata in system databases for the specified instance. Use this method if the instance is not registered locally.
Instance.Repair (String, String, String, String, String, String)
Repairs the metadata in system databases for the specified instance. Use this method if you are using SQL Server Authentication to access the Database Engine.

See Also

Reference

Instance Class
Instance Members
Microsoft.SqlServer.Management.Nmo Namespace

Other Resources

nscontrol repair Command