SearchProperty Constructor (SearchPropertyList, String)
Initializes a new instance of the SearchProperty class, specifying the parent SearchPropertyList and name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
searchPropertyList As SearchPropertyList, _
name As String _
)
'Usage
Dim searchPropertyList As SearchPropertyList
Dim name As String
Dim instance As New SearchProperty(searchPropertyList, _
name)
public SearchProperty(
SearchPropertyList searchPropertyList,
string name
)
public:
SearchProperty(
SearchPropertyList^ searchPropertyList,
String^ name
)
new :
searchPropertyList:SearchPropertyList *
name:string -> SearchProperty
public function SearchProperty(
searchPropertyList : SearchPropertyList,
name : String
)
Parameters
- searchPropertyList
Type: Microsoft.SqlServer.Management.Smo.SearchPropertyList
The parent SearchPropertyList.
- name
Type: System.String
A String containing the name of the instance.