Gets or sets the product name that this connection will be used for.
[ConfigurationPropertyAttribute(Name="productName",
Options=ConfigurationPropertyOptions.IsRequired,
IsDefaultCollection=false,
IsRequired=true,
IsKey=false)]
public string ProductName {get; set;}
'Declaration
<ConfigurationPropertyAttribute(Name="productName",
Options=ConfigurationPropertyOptions.IsRequired,
IsDefaultCollection=False,
IsRequired=True,
IsKey=False)>
Public Property ProductName As String
'Usage
Dim instance As ConnectionElement
Dim value As String
instance.ProductName = value
value = instance.ProductName
[ConfigurationPropertyAttribute(Name="productName",
Options=ConfigurationPropertyOptions.IsRequired,
IsDefaultCollection=false,
IsRequired=true,
IsKey=false)]
public:
property String^ ProductName {
String^ get();
void set ( String^ value);
}
Property Value
A
System.String that represents the product name that this connection will be used for.