共用方式為


DefaultRuleBase Constructor

Initializes a new instance of the Default or Rule class.

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
Protected Friend Sub New
protected internal DefaultRuleBase ()
protected public:
DefaultRuleBase ()
protected DefaultRuleBase ()
protected internal function DefaultRuleBase ()

備註

The default constructor initializes any fields to their default values.

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

範例

How to: Create, Alter, and Remove a Rule in Visual Basic .NET

How to: Create, Alter, and Remove a Default in Visual Basic .NET

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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

其他資源

Working with Database Objects
規則
預設值