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.