SiteIdentityPermissionAttribute.Site プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)
構文
Dim instance As SiteIdentityPermissionAttribute Dim value As String value = instance.Site instance.Site = value
セキュリティ プロバイダが指定するサイト名の比較対象となるサイト名。
サイト ID は、HTTP、HTTPS、および FTP のプロトコルの付いた URL からのコードだけで定義されます。URL のプロトコルの後ろの "//" から次の "/" までの間に文字列がある場合は、その文字列がサイトを表します。たとえば、URL http://www.fourthcoffee.com/process/grind.htm の www.fourthcoffee.com がサイトです。ポート番号は除外されます。URL が http://www.fourthcoffee.com:8000/ の場合、サイトは www.fourthcoffee.com:8000 ではなく www.fourthcoffee.com になります。
サイトには、完全に一致する文字列か、ドット区切り文字の前にワイルドカード ("*") を付けた文字列を指定できます。たとえば、サイト名として文字列 *.fourthcoffee.com を指定すると、fourthcoffee.com と www.fourthcoffee.com の両方と一致します。ワイルドカードを使用しない場合、正確に一致するサイト名だけが見つかります。
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- SiteIdentityPermissionAttribute.Site プロパティのページへのリンク