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.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Create ( _
sourceDatabaseName As String, _
sourceSearchPropertyListName As String _
)
用法
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
)
参数
- sourceDatabaseName
类型:System.String
A String which contains the database name.
- sourceSearchPropertyListName
类型:System.String
A String which contains the source SearchPropertyList name.