Поделиться через


Метод GetPropertyObject (String, Boolean)

*.*Gets the Property object.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function GetPropertyObject ( _
    name As String, _
    doNotLoadPropertyValues As Boolean _
) As Property
'Применение
Dim instance As PropertyCollection
Dim name As String
Dim doNotLoadPropertyValues As Boolean
Dim returnValue As [Property]

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

Параметры

  • doNotLoadPropertyValues
    Тип 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.

Возвращаемое значение

Тип Microsoft.SqlServer.Management.Smo. . :: . .Property
A Property object value that specifies the property.