Partager via


Méthode PropertyCollection.GetPropertyObject (Int32, Boolean)

Gets the Property object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function GetPropertyObject ( _
    index As Integer, _
    doNotLoadPropertyValues As Boolean _
) As Property
'Utilisation
Dim instance As PropertyCollection 
Dim index As Integer 
Dim doNotLoadPropertyValues As Boolean 
Dim returnValue As [Property]

returnValue = instance.GetPropertyObject(index, _
    doNotLoadPropertyValues)
public Property GetPropertyObject(
    int index,
    bool doNotLoadPropertyValues
)
public:
Property^ GetPropertyObject(
    int index, 
    bool doNotLoadPropertyValues
)
member GetPropertyObject : 
        index:int * 
        doNotLoadPropertyValues:bool -> Property
public function GetPropertyObject(
    index : int, 
    doNotLoadPropertyValues : boolean
) : Property

Paramètres

  • index
    Type : System.Int32
    An Int32 value that specifies the index position of the property.
  • doNotLoadPropertyValues
    Type : System.Boolean
    A Boolean property value that specifies whether the property values are loaded.If True, the property values are not loaded. If False, the property values are loaded.

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo.Property
A Property object value that specifies the property.

Exemples

Utilisation de collections

Voir aussi

Référence

PropertyCollection Classe

Surcharge GetPropertyObject

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Utilisation de collections