Share via


SearchPropertyList.Create Method (String, String)

Creates a search property list on the instance of SQL Server as defined by the SearchPropertyList object, specifying the database and the sourceSearchPropertyListName.

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

Syntax

'Declaration
Public Sub Create ( _
    sourceDatabaseName As String, _
    sourceSearchPropertyListName As String _
)
'Usage
Dim instance As SearchPropertyList 
Dim sourceDatabaseName As String 
Dim sourceSearchPropertyListName As String

instance.Create(sourceDatabaseName, sourceSearchPropertyListName)
public void Create(
    string sourceDatabaseName,
    string sourceSearchPropertyListName
)
public:
void Create(
    String^ sourceDatabaseName, 
    String^ sourceSearchPropertyListName
)
member Create : 
        sourceDatabaseName:string * 
        sourceSearchPropertyListName:string -> unit
public function Create(
    sourceDatabaseName : String, 
    sourceSearchPropertyListName : String
)

Parameters

See Also

Reference

SearchPropertyList Class

Create Overload

Microsoft.SqlServer.Management.Smo Namespace