共用方式為


Instance.Repair Method

Repairs the instance metadata in system databases.

多載清單

名稱 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.

請參閱

參考

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

其他資源

nscontrol repair 命令