Dela via


DefaultCollection.Add Method

Adds a Default object to the DefaultCollection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    def As Default _
)
'Usage
Dim instance As DefaultCollection
Dim def As Default

instance.Add(def)
public void Add(
    Default def
)
public:
void Add(
    Default^ def
)
member Add : 
        def:Default -> unit 
public function Add(
    def : Default
)

Remarks

The Default object represents a Microsoft SQL Server default.