ExtendedProperty ExtendedProperty ExtendedProperty Constructors

Definition

Overloads

ExtendedProperty() ExtendedProperty() ExtendedProperty()

Initializes a new instance of the ExtendedProperty class.

ExtendedProperty(SqlSmoObject, String) ExtendedProperty(SqlSmoObject, String) ExtendedProperty(SqlSmoObject, String)

Initializes a new instance of the ExtendedProperty class with the specified parent and name.

ExtendedProperty(SqlSmoObject, String, Object) ExtendedProperty(SqlSmoObject, String, Object) ExtendedProperty(SqlSmoObject, String, Object)

Initializes a new instance of the ExtendedProperty class with the specified parent, name, and value.

ExtendedProperty() ExtendedProperty() ExtendedProperty()

Initializes a new instance of the ExtendedProperty class.

public:
 ExtendedProperty();
public ExtendedProperty ();
Public Sub New ()

Examples

Setting Properties

Remarks

The default constructor initializes any fields to their default values.

ExtendedProperty(SqlSmoObject, String) ExtendedProperty(SqlSmoObject, String) ExtendedProperty(SqlSmoObject, String)

Initializes a new instance of the ExtendedProperty class with the specified parent and name.

public:
 ExtendedProperty(Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ parent, System::String ^ name);
public ExtendedProperty (Microsoft.SqlServer.Management.Smo.SqlSmoObject parent, string name);
Public Sub New (parent As SqlSmoObject, name As String)
Parameters
parent
SqlSmoObject SqlSmoObject SqlSmoObject

A SqlSmoObject object that specifies the object on which to add the extended property.

name
String String String

A String value that specifies the name of the extended property.

Examples

Setting Properties

ExtendedProperty(SqlSmoObject, String, Object) ExtendedProperty(SqlSmoObject, String, Object) ExtendedProperty(SqlSmoObject, String, Object)

Initializes a new instance of the ExtendedProperty class with the specified parent, name, and value.

public:
 ExtendedProperty(Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ parent, System::String ^ name, System::Object ^ propertyValue);
public ExtendedProperty (Microsoft.SqlServer.Management.Smo.SqlSmoObject parent, string name, object propertyValue);
Public Sub New (parent As SqlSmoObject, name As String, propertyValue As Object)
Parameters
parent
SqlSmoObject SqlSmoObject SqlSmoObject

A SqlSmoObject object that specifies the object on which to add the extended property.

name
String String String

A String value that specifies the name of the extended property.

propertyValue
Object Object Object

An Object object value that specifies the property value of the object.

Examples

Setting Properties

Applies to