ExtendedProperty-Konstruktor (SqlSmoObject, String)
Initializes a new instance of the ExtendedProperty class with the specified parent and name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'Usage
Dim parent As SqlSmoObject
Dim name As String
Dim instance As New ExtendedProperty(parent, _
name)
public ExtendedProperty(
SqlSmoObject parent,
string name
)
public:
ExtendedProperty(
SqlSmoObject^ parent,
String^ name
)
new :
parent:SqlSmoObject *
name:string -> ExtendedProperty
public function ExtendedProperty(
parent : SqlSmoObject,
name : String
)
Parameter
- parent
Typ: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the object on which to add the extended property.
- name
Typ: System.String
A String value that specifies the name of the extended property.