Méthode SearchPropertyList.Create (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.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Create ( _
sourceDatabaseName As String, _
sourceSearchPropertyListName As String _
)
'Utilisation
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
)
Paramètres
- sourceDatabaseName
Type : System.String
A String which contains the database name.
- sourceSearchPropertyListName
Type : System.String
A String which contains the source SearchPropertyList name.