Compartilhar via


Propriedade do RDL Name

Gets the name of the facet.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Required Or SfcPropertyFlags.ReadOnlyAfterCreation)> _
<SfcKeyAttribute()> _
Public ReadOnly Property Name As String
    Get
'Uso
Dim instance As Condition
Dim value As String

value = instance.Name
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public string Name { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Required|SfcPropertyFlags::ReadOnlyAfterCreation)]
[SfcKeyAttribute()]
public:
property String^ Name {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Required|SfcPropertyFlags.ReadOnlyAfterCreation)>]
[<SfcKeyAttribute()>]
member Name : string
function get Name () : String

Valor da propriedade

Tipo: System. . :: . .String
A Name value that specifies the name of the facet.

Exemplos

C#

Condition c = new Condition
c.Parent = ps;
c.Name = conditionName;
c.Facet = facet;
c.ExpressionNode = exprNode;
c.Create();

VB

Dim c As Condition
c = New Condition
c.Parent = ps
c.Name = conditionName
c.Facet = facet
c.ExpressionNode = exprNode
c.Create()