Partilhar via


FolderDescription.ReferenceProperty Property

Gets or sets the reference property for the folder.

Namespace: Microsoft.ConfigurationManagement.AdminConsole.Schema
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As FolderDescription
Dim value As String

value = instance.ReferenceProperty

instance.ReferenceProperty = value

Syntax

'Declaration
<XmlElementAttribute("ReferenceProperty")> _
Public Property ReferenceProperty As String
[XmlElementAttribute("ReferenceProperty")] 
public string ReferenceProperty { get; set; }
[XmlElementAttribute(L"ReferenceProperty")] 
public:
property String^ ReferenceProperty {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public String get_ReferenceProperty ()

/** @property */
/** @attribute DebuggerStepThroughAttribute() */ 
public void set_ReferenceProperty (String value)
DebuggerStepThroughAttribute 
public function get ReferenceProperty () : String

DebuggerStepThroughAttribute 
public function set ReferenceProperty (value : String)

Remarks

This property and the ReferenceClass property are used together to check the security permissions of the user. For example, in the Advertisement node, the query (container) class is SMS_AdvertisementInfo Server WMI Class, but folder management requires the SMS_Advertisement Server WMI Class class to be listed as the reference class to set clipboard formats. The reference property is the AdvertisementID property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

FolderDescription Class
FolderDescription Members
Microsoft.ConfigurationManagement.AdminConsole.Schema Namespace
FolderDescription.ReferenceClass Property

Other Resources

SMS_Advertisement Server WMI Class
SMS_AdvertisementInfo Server WMI Class